interface ThreadTraceListItemcompletion_cost is estimated USD cost for the completion.
completion_cost_details is the per-category USD breakdown of
completion_cost. Categories mirror completion_token_details. Returned only
when the COMPLETION_COST_DETAILS field is requested.
completion_token_details is the per-category breakdown of completion_tokens.
Category names are model-specific (for example reasoning, audio). Returned
only when the COMPLETION_TOKEN_DETAILS field is requested.
completion_tokens is the completion-side token count.
end_time is when the run ended (RFC3339 date-time). JSON null if the run has
not finished yet.
error_preview is a truncated plain-text error snippet.
first_token_time is when the first output token was produced (RFC3339
date-time), when recorded for streamed runs.
inputs_preview is a truncated plain-text preview of inputs.
latency is wall-clock duration from start to end in seconds. Omitted unless
included in selects.
name is the example's optional name.
op is a numeric code identifying the root run's run_type (for example LLM
vs. tool vs. chain). Encoded as a number for compatibility with legacy clients;
prefer the string run_type on RunResponse when available. Omitted unless
included in selects.
outputs_preview is a truncated plain-text preview of outputs.
prompt_cost is estimated USD cost for the prompt.
prompt_cost_details is the per-category USD breakdown of prompt_cost.
Categories mirror prompt_token_details. Returned only when the
PROMPT_COST_DETAILS field is requested.
prompt_token_details is the per-category breakdown of prompt_tokens.
Category names are model-specific (for example cache_read, cache_write).
Returned only when the PROMPT_TOKEN_DETAILS field is requested.
prompt_tokens is the prompt-side token count.
start_time is when the run started (RFC3339 date-time).
thread_id is the conversation thread UUID this run belongs to, if any.
total_cost is total estimated USD cost (prompt plus completion).
total_tokens is prompt plus completion tokens.
trace_id is the root trace UUID; for a root run it matches id.