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
013xrzp12g3nqk8ns6jadrqmpgrjkenyRequest Body
Section titled “Request Body ”object
A valid risk profile ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyNull
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 ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyWhen 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 + terminated)
Example
5Number of instances with status pending
Number of instances with status terminated
Total number of agent instances
Example
10Agent name
Example
My AgentA valid risk profile ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyNull
Agent 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