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

List swarms

/api/v1/observability/swarmsGET
List swarm status, cost and coverage. Costs sum priced usage; inspect unpricedUsage before interpreting totals. The /missions alias remains accepted.
Requires traces:read. The credential selects the workspace. Errors use a JSON error string; see Errors and limits.
Read the swarm investigation guide for live polling, historical views, and investigation workflows.
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
status?"active" | "waiting" | "succeeded" | "failed" | "cancelled" | "unknown" | "stale" | "over_budget" | "incomplete"
sort?"recent" | "cost" | "blocked" | "outcome"
Default: "recent"
cursor?string
Use the returned cursor with the same filters.
Response
200 · Success
swarms *object[]
Max items: 32
Show item 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
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
503 · Storage or credential verification temporarily unavailable
error *string
Request example
curl -X GET "https://app.halfspan.com/api/v1/observability/swarms" \ -H "Authorization: Bearer <token>"
Response example
{ "swarms": [], "nextCursor": null }