Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

List an agent’s sessions

/api/v1/observability/swarms/{swarm}/agent-tracesGET
Requires traces:read. The credential selects the workspace. Errors use a JSON error string; see Errors and limits.
Authorization
ApiKey *Bearer <token>
Workspace API key. Create a key with the scope named by the operation. API keys use separate sharer identities; replacement keys do not inherit sharing ownership.
Query Parameters
at?string (date-time)
Historical cutoff; current retention and workspace permissions still apply.
cursor?string
Use the returned cursor with the same filters.
limit?integer
Default: 24Min: 1Max: 32
agent *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
Response
200 · Success
traces *object[]
Max items: 32
Show item properties
session *string (uuid)
href *string
events *integer
Min: 0
tasks *integer
Min: 0
firstAt *string (date-time)
lastAt *string (date-time)
nextCursor *stringnull
Opaque continuation cursor; null when there is no next page.
400 · Invalid request
error *string
401 · Missing or invalid credential
error *string
403 · Required scope or sharer permission denied
error *string
404 · Requested evidence unavailable
error *string
503 · Storage or credential verification temporarily unavailable
error *string
Request example
curl -X GET "https://app.halfspan.com/api/v1/observability/swarms/<swarm>/agent-traces?agent=%3Cagent%3E" \ -H "Authorization: Bearer <token>"
Response example
{ "traces": [], "nextCursor": null }