Update an agent
PUT /api/v1/agent/{agent_id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”A valid agent ID
Example
013xrzp12g3nqk8nx0y2vfkg4s3jp2qrRequest Body
Section titled “Request Body ”object
A valid agent version ID
Example
013xrzp12g3nqk8n6mv28ge2v9f7n2hcNull
Responses
Section titled “ Responses ”Success
object
object
Available actions for this agent based on its status and instance counts
object
Whether the agent can be deleted
Whether the agent can be reinstated from retired
Whether the agent can be retired
Whether the agent can be updated
A valid agent schema version ID
Example
013xrzp12g3nqk8nzntq40gkzaf2d9m2Null
A valid agent version ID
Example
013xrzp12g3nqk8n6mv28ge2v9f7n2hcNull
A valid environment ID
Example
013xrzp12g3nqk8nzxvq7jm2arsfg5h1A valid agent ID
Example
013xrzp12g3nqk8nx0y2vfkg4s3jp2qrWhen the agent was created
Example
2024-01-01T00:00:00Zobject
Number of instances with status active (running)
Example
2Number of instances with status cancelled
Number of instances with status complete
Example
5Number of instances with status failed
Number of instances in a finished state (complete + failed + cancelled)
Example
5Number of instances with status pending
Total number of agent instances
Example
10Agent name
Example
My AgentAgent status
Example
pendingType of resource (always ‘agent’)
Example
agentWhen the agent was last updated
Example
2024-01-01T00:00:00ZExample
successdefault
Section titled “default ”Error
object
Example
bad_requestExample
errorobject
Example
validation_errorsExample
error