An agent in shape
Endpoints
List all agents in a workspace. Create a new agent (starts inactive). Fetch a single agent by id. Activate the agent so it begins runs. Deactivate the agent — no new runs are started. Paginated run history for the agent.Lifecycle
Deactivating an agent stops new runs but lets in-flight runs complete. Pending approval records remain actionable.Run statuses
Run history is paginated newest-first:GET /agents/{id}/runs accepts limit (default 20, max 100) and cursor. See Pagination for the cursor protocol.
Common errors
Related
Approvals
Review and action approval requests that agents surface during a run.