The agent object
Current status of the agent. One of
"active", "suspended", or "revoked". Only "active" agents can receive "allowed" authorization decisions.POST /v1/agents
Create a new agent in your workspace.Requires an API key with
admin scope.201.
GET /v1/agents
List all agents in your workspace. Returns a paginated envelope with an array of agent objects.GET /v1/agents/:id
Retrieve a single agent by UUID. Returns the agent object, or404 with AGENT_NOT_FOUND if it does not exist in your workspace.
PATCH /v1/agents/:id
Update an existing agent. All fields are optional — only the fields you include are updated.Requires an API key with
admin scope.New status. One of
"active", "suspended", or "revoked".Setting status to "suspended" or "revoked" immediately causes all subsequent authorization requests for this agent to be denied without policy evaluation.DELETE /v1/agents/:id
Permanently delete an agent. This cascades to all policies and audit logs associated with the agent.Requires an API key with
admin scope.204 No Content on success.