Skip to content
Get started

Get Trace By Id

v1.traces.get_trace_by_id(strtrace_id, TraceGetTraceByIDParams**kwargs) -> object
GET/api/v1/traces/trace/{trace_id}

Retrieve a specific trace by its trace ID. Automatically filters by BusinessId from the current user. Returns all spans in the trace with complete data (no truncation).

ParametersExpand Collapse
trace_id: str
project_id: str

Filter by project ID

formatuuid
add_linked_traces: Optional[bool]

Whether to include linked traces in the response

use_cache: Optional[bool]
ReturnsExpand Collapse
object
Get Trace By Id
from overmind_lab import OvermindLab

client = OvermindLab()
response = client.v1.traces.get_trace_by_id(
    trace_id="trace_id",
    project_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(response)
{}
Returns Examples
{}