cURL
curl --request PUT \ --url https://{api-address}.org.machina.gg/agent/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-token: <api-key>' \ --data '{ "title": "<string>", "description": "<string>", "status": "active", "context": {}, "workflows": [ "<any>" ] }'
{ "message": "agent updated", "status": true }
Update an existing agent by its ID.
API key authentication
Unique ID of the agent to update
Agent updated successfully
The response is of type object.
object