error string. For example, sending an invalid session identifier returns HTTP 400:12curl https://app.halfspan.com/api/v1/observability/agent-sessions/not-a-uuid \ -H "Authorization: Bearer $HALFSPAN_API_KEY"
1{"error":"Expected UUID"}
| Status | Meaning and examples |
400 | Invalid JSON, unknown fields, invalid observation fields, invalid timestamps or identifiers, missing event references, or session event limit exceeded. |
401 | Missing, malformed, unknown, or revoked credential. |
403 | Required scope missing, unavailable API-key route, or sharer-only operation denied. |
404 | Session unavailable to read, including expired or unshared sessions. |
409 | Session use case differs, or an event ID was reused with different content. |
410 | Ingestion targets a removed or expired session. |
413 | Request body exceeds the size limit. |
503 | Storage or credential verification is temporarily unavailable. |
| Limit | Value |
| Telemetry request body | 262,144 bytes |
| Events per batch | 1–256 |
| Events per session | 10,000 |
| Event, task, and attempt identifiers | 1–128 allowed ASCII characters |
| Session title | 4,096 UTF-8 bytes |
| Prompt or response text | 32,768 UTF-8 bytes |
| Reasoning summary text | 4,096 UTF-8 bytes |
| Session list | At most 100 sessions, no pagination parameter |
| Sharing status request | At most 256 session IDs |
| New session lifetime | 30 days from creation |
409.