curl --request PATCH \
--url https://a.api.mindset.ai/api/v1/appuid/{appUid}/agents/uid/{uid} \
--header 'Content-Type: */*' \
--header 'x-api-key: <api-key>' \
--data '{
"agentName": "<string>",
"agentPurpose": "<string>",
"formatting": "<string>",
"agentPersonality": "<string>",
"agentPolicyRules": "<string>",
"live": false,
"contextUids": [
"<string>"
],
"mcpserverUids": [
"<string>"
],
"tags": [
"<string>"
]
}'
{
"uid": "<string>",
"agentName": "<string>",
"agentPurpose": "<string>",
"formatting": "<string>",
"agentPersonality": "<string>",
"agentPolicyRules": "<string>",
"live": false,
"createdAt": "2023-11-07T05:31:56Z",
"contextUids": [
"<string>"
],
"mcpserverUids": [
"<string>"
],
"tags": [
"<string>"
]
}
curl --request PATCH \
--url https://a.api.mindset.ai/api/v1/appuid/{appUid}/agents/uid/{uid} \
--header 'Content-Type: */*' \
--header 'x-api-key: <api-key>' \
--data '{
"agentName": "<string>",
"agentPurpose": "<string>",
"formatting": "<string>",
"agentPersonality": "<string>",
"agentPolicyRules": "<string>",
"live": false,
"contextUids": [
"<string>"
],
"mcpserverUids": [
"<string>"
],
"tags": [
"<string>"
]
}'
{
"uid": "<string>",
"agentName": "<string>",
"agentPurpose": "<string>",
"formatting": "<string>",
"agentPersonality": "<string>",
"agentPolicyRules": "<string>",
"live": false,
"createdAt": "2023-11-07T05:31:56Z",
"contextUids": [
"<string>"
],
"mcpserverUids": [
"<string>"
],
"tags": [
"<string>"
]
}
Your application's uid
1
Unique ID of the agent
Successful update
The response is of type object
.