Get an error group
Returns one error group’s counts, first and last seen, reach and triage state in a time range, with its most recent failed spans.
Authentication
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
Path parameters
Error group fingerprint from List error groups: 16 uppercase hex characters, case-sensitive.
Request
Only count spans from this environment, such as prod or test. Omit it to include every environment.
Most recent failures to return in occurrences. Values above 500 are capped at 500.
Response
Error group ID: a hash of error class, provider, endpoint and status code. 16 uppercase hex characters.
Readable name: error class, provider and endpoint, and status code.
Whose fault the failure is, derived from error_class: user (your requests or your own provider keys), provider (the upstream provider), respan (Respan's gateway or managed capacity), or none (client cancellations).
Respan's ops alert level for the error class: ops_page for errors Respan pages its on-call for, ops_log for the rest, none for cancellations.
Upstream operation, such as chat/completions, responses or embeddings.
Distinct customer_identifier values among the failures. Spans without one count as one value.
Triage state. Groups you haven't triaged are unresolved.