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

Read a swarm

/api/v1/observability/swarms/{swarm}GET
Inspect lanes, findings and the measured dependency chain. Critical path is unknown when evidence is insufficient and limited above 1,024 measured edges.
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.
laneCursor?string
findingCursor?string
Response
200 · Success
swarm *object
Show properties
id *string (uuid)
title *string
project *string
environment *string
status *string
agents *integer
Min: 0
tasks *integer
Min: 0
retries *integer
Min: 0
causalLinks *integer
Min: 0
events *integer
Min: 0
missingLinks *integer
Min: 0
unpricedUsage *integer
Min: 0
firstAt *string (date-time)
lastAt *string (date-time)
usdMicros *integer | null
budgetUsdMicros *integer | null
partialCoverage *boolean
blockedSeconds *number
Min: 0
lanes *object[]
Max items: 64
Show item properties
agent *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
task *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
events *integer
Min: 0
firstAt *string (date-time)
lastAt *string (date-time)
nextLane *stringnull
Opaque continuation cursor; null when there is no next page.
findings *object[]
Max items: 32
Show item properties
rule *string
version *"1"
message *string
evidence *object
Show properties
session *string (uuid)
event *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
state *string
matches *boolean
reviewer *string | null
reviewedAt *string (date-time) | null
receipt *string | null
coverage *string
assignee *string | null
alertEnabled *boolean
nextFinding *stringnull
Opaque continuation cursor; null when there is no next page.
criticalPath *object
Show properties
state *"unknown" | "limited" | "recorded"
durationMs *number
Min: 0
events *object[]
Max items: 128
Show item properties
session *string (uuid)
event *string
Pattern: ^[a-zA-Z0-9._:@/-]{1,128}$Max length: 128
partial *boolean
truncated?boolean
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>" \ -H "Authorization: Bearer <token>"
Response example
{ "swarm": { "id": "d071434b-9796-40dc-bde8-a73fe18706a8", "title": "Payment retry review", "project": "checkout", "environment": "development", "status": "active", "agents": 1, "tasks": 1, "retries": 0, "causalLinks": 0, "events": 1, "firstAt": "2026-11-25T15:00:00Z", "lastAt": "2026-11-25T15:00:00Z", "usdMicros": 4500, "budgetUsdMicros": null, "missingLinks": 0, "partialCoverage": false, "unpricedUsage": 0, "blockedSeconds": 0 }, "lanes": [ { "agent": "reviewer", "task": "checkout", "events": 1, "firstAt": "2026-11-25T15:00:00Z", "lastAt": "2026-11-25T15:00:00Z" } ], "nextLane": null, "findings": [], "nextFinding": null, "criticalPath": { "state": "unknown", "durationMs": 0, "events": [], "partial": true } }