Actions28
- Ingestion Actions
- Public API Actions
Public API → Get Trace
AI-generatedSummary
Retrieve detailed information about a specific trace from Langfuse's Public API by providing its unique Trace ID.
Inputs
- Trace ID (required) — The unique identifier of the trace to fetch, for example '1234567890abcdef1234567890abcdef'.
- Show Advanced Fields — Toggle to reveal optional fields for the operation; defaults to false.
Output shape
a single record containing detailed trace data
Returns the trace details corresponding to the provided Trace ID. No pagination applies since this fetches a single trace. Errors are surfaced clearly if the trace is not found or the request fails.
Examples
Example 1: Retrieve a trace by Trace ID
Set the Trace ID field with the known trace identifier; optionally enable 'Show Advanced Fields' to reveal more parameters if available.