PUT
/
agent
/
{id}
Update Agent
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
}

Authorizations

x-api-token
string
header
required

API key authentication

Path Parameters

id
string
required

Unique ID of the agent to update

Body

application/json

Response

200
application/json

Agent updated successfully

The response is of type object.