Fetch agent
GET /api/v1/agent/{agent_id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”A valid agent ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyQuery Parameters
Section titled “Query Parameters ”A valid environment ID
Example
013xrzp12g3nqk8ns6jadrqmpgrjkenyNull
Include instance counts in the response
Include risk rollup (theoretical and observed risk) in the response
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:00Zobject
object
List of all data categories included across span types
Number of span types with risk data
Count of span types at each classification level
object
Number of span types with external communication allowed
Highest classification level across all span types
Example
unknownTotal number of span types
Number of span types without risk data
Null
object
List of all data categories included across span types
Number of span types with risk data
Count of span types at each classification level
object
Number of span types with external communication allowed
Highest classification level across all span types
Example
unknownTotal number of span types
Number of span types without risk data
Null
Null
Example
successdefault
Section titled “default ”Error
object
Example
bad_requestExample
errorobject
Example
validation_errorsExample
error