Get error signals over time
Returns failed spans per time bucket, split by a field such as error class, provider or error group. Reads spans directly, so range edges are exact.
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.
Request
Only count spans from this environment, such as prod or test. Omit it to include every environment.
Field to group by. issue groups by error group fingerprint, provider by provider ID, and status by HTTP status code.
Only this error class. For several values or is not, use filters.
Only errors with this fault. none selects client cancellations.
Narrow the errors with the same filter shape as the Logs filter bar. Only these four keys are accepted; any other key is a 400.
Response
Points ordered by bucket. Buckets with no failures are missing.