Retrieve Trace

Retrieve a single trace by trace_unique_id.

Public path (unique_organization_id in kwargs): checks ch_trace_metadata.is_public. Authenticated path: gets org from auth context.

Authentication

AuthorizationBearer

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

trace_unique_idstringRequired

Response

No response body