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

Errors and limits

Telemetry API errors return an HTTP status and a JSON error string. For example, sending an invalid session identifier returns HTTP 400:
curl https://app.halfspan.com/api/v1/observability/agent-sessions/not-a-uuid \ -H "Authorization: Bearer $HALFSPAN_API_KEY"
{"error":"Expected UUID"}
StatusMeaning and examples
400Invalid JSON, unknown fields, invalid observation fields, invalid timestamps or identifiers, missing event references, or session event limit exceeded.
401Missing, malformed, unknown, or revoked credential.
403Required scope missing, unavailable API-key route, or sharer-only operation denied.
404Session unavailable to read, including expired or unshared sessions.
409Session use case differs, or an event ID was reused with different content.
410Ingestion targets a removed or expired session.
413Request body exceeds the size limit.
503Storage or credential verification is temporarily unavailable.
Check the status code before parsing a successful response. Error messages describe the failure; they are not a separate machine-readable error code.
LimitValue
Telemetry request body262,144 bytes
Events per batch1–256
Events per session10,000
Event, task, and attempt identifiers1–128 allowed ASCII characters
Session title4,096 UTF-8 bytes
Prompt or response text32,768 UTF-8 bytes
Reasoning summary text4,096 UTF-8 bytes
Session listAt most 100 sessions, no pagination parameter
Sharing status requestAt most 256 session IDs
New session lifetime30 days from creation
For ingestion retries, preserve the event IDs, timestamps, and content. Identical event replays are deduplicated; changed content under an existing ID returns 409.