GetTrace
June 16, 2026 ยท View on GitHub
Fields
| Field | Type | Required | Description |
|---|---|---|---|
customer_id | str | :heavy_check_mark: | N/A |
organization_id | str | :heavy_check_mark: | N/A |
workspace_id | str | :heavy_check_mark: | N/A |
user_id | str | :heavy_check_mark: | N/A |
trace_id | str | :heavy_check_mark: | N/A |
root_span_id | str | :heavy_check_mark: | N/A |
root_span_name | str | :heavy_check_mark: | N/A |
start_time | date | :heavy_check_mark: | N/A |
end_time | date | :heavy_check_mark: | N/A |
duration_ns | int | :heavy_check_mark: | N/A |
service_name | str | :heavy_check_mark: | N/A |
environment | str | :heavy_check_mark: | N/A |
conversation_id | str | :heavy_check_mark: | N/A |
workflow_name | str | :heavy_check_mark: | N/A |
agent_id | str | :heavy_check_mark: | N/A |
agent_name | str | :heavy_check_mark: | N/A |
status_code | models.GetTraceStatusCode | :heavy_check_mark: | N/A |
error_count | int | :heavy_check_mark: | N/A |
span_count | int | :heavy_check_mark: | N/A |
gen_ai_span_count | int | :heavy_check_mark: | N/A |
llm_call_count | int | :heavy_check_mark: | N/A |
tool_call_count | int | :heavy_check_mark: | N/A |
retrieval_count | int | :heavy_check_mark: | N/A |
evaluation_count | int | :heavy_check_mark: | N/A |
input_tokens | int | :heavy_check_mark: | N/A |
output_tokens | int | :heavy_check_mark: | N/A |
cache_read_input_tokens | int | :heavy_check_mark: | N/A |
cache_creation_input_tokens | int | :heavy_check_mark: | N/A |
models_used | List[str] | :heavy_check_mark: | N/A |
tools_used | List[str] | :heavy_check_mark: | N/A |
first_turn_last_input_message | str | :heavy_check_mark: | N/A |
first_turn_last_output_message | str | :heavy_check_mark: | N/A |
last_turn_last_input_message | str | :heavy_check_mark: | N/A |
last_turn_last_output_message | str | :heavy_check_mark: | N/A |