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

List swarm attempts

/api/v1/observability/swarms/{swarm}/attemptsGET
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.
task?string
Supply together with attempt for an exact lookup.
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
attempt?string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
Response
200 · Success
attempts *object[]
Max items: 32
Show item properties
task *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
attempt *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
events *integer
Min: 0
agents *integer
Min: 0
unpricedUsage *integer
Min: 0
retries *integer
Min: 0
causalLinks *integer
Min: 0
firstAt *string (date-time)
lastAt *string (date-time)
usdMicros *integer | null
outcome *string | null
configVersions *string[]
Max items: 16
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>/attempts" \ -H "Authorization: Bearer <token>"
Response example
{ "attempts": [], "nextCursor": null }