The agent object
UUID of the agent.
Display name of the agent.
Optional description of the agent’s purpose.
Current status of the agent. One of
"active", "suspended", or "revoked".ISO 8601 timestamp of when the agent was created.
ISO 8601 timestamp of when the agent was last updated.
POST /v1/agents
Create a new agent in your workspace.Requires an API key with the
admin scope.Request body
Display name for the agent. Between 1 and 255 characters.
Optional description. Maximum 2000 characters.
201 with the created Agent object.
GET /v1/agents
List all agents in your workspace. Returns an array of Agent objects.GET /v1/agents/:id
Retrieve a single agent by its UUID. Returns the Agent object, or404 with AGENT_NOT_FOUND if no agent with that ID exists in your workspace.
PATCH /v1/agents/:id
Update an agent’s name, description, or status.Requires an API key with the
admin scope.Request body
All fields are optional. Supply only the fields you want to change.New display name. Between 1 and 255 characters.
New description. Set to
null to clear it. Maximum 2000 characters.New status. One of
"active", "suspended", or "revoked".404 with AGENT_NOT_FOUND.
DELETE /v1/agents/:id
Delete an agent. This action cascades and removes all policies and audit logs associated with the agent.Requires an API key with the
admin scope.204 No Content on success, or 404 with AGENT_NOT_FOUND.