v2

latestOpenAPI 3.1.02026-07-262937191.0 MB
beta.observability.traces

Get trace by id

Get trace by id

get/v1/observability/traces/{trace_id}

Path parameters

trace_idstring required

Response

Successful Response

customer_idstring required
organization_idstring required
workspace_idstring required
user_idstring required
trace_idstring required
root_span_idstring required
root_span_namestring required
start_timestring date-time required
end_timestring date-time required
duration_nsinteger required
service_namestring required
environmentstring required
conversation_idstring required
workflow_namestring required
agent_idstring required
agent_namestring required
status_code'Error' | 'Unset' required
error_countinteger required
span_countinteger required
gen_ai_span_countinteger required
llm_call_countinteger required
tool_call_countinteger required
retrieval_countinteger required
evaluation_countinteger required
input_tokensinteger required
output_tokensinteger required
cache_read_input_tokensinteger required
cache_creation_input_tokensinteger required
models_usedstring[] required
tools_usedstring[] required
first_turn_last_input_messagestring required
first_turn_last_output_messagestring required
last_turn_last_input_messagestring required
last_turn_last_output_messagestring required