Skip to main content

TraceListItem

trace_idstring

Trace identifier

span_idstring

Span identifier

timestampstring<date-time>

Span timestamp

service_namestring

Service name

span_namestring

Span name

duration_nsinteger<int64>

Duration in nanoseconds

status_codestring

Status code

llm_attributes object

Normalized LLM-specific attributes for list view (excludes large fields like output_message)

request_modelstring

The model requested for the LLM call

provider_namestring

The LLM provider name (e.g., openai, anthropic)

input_tokensinteger<int64>

Number of input/prompt tokens

output_tokensinteger<int64>

Number of output/completion tokens

total_coststring

Total cost of the LLM operation in dollars

operation_namestring

Type of LLM operation (chat, embeddings, text_completion)

output_typestring

Type of output (e.g., text)

sdk_namestring

Name of the SDK that generated the trace (openllmetry, openlit)

sdk_versionstring

Version of the SDK

system_promptstring

System prompt/instructions

user_promptstring

User prompt/message

TraceListItem
{
"trace_id": "string",
"span_id": "string",
"timestamp": "2024-07-29T15:51:28.071Z",
"service_name": "string",
"span_name": "string",
"duration_ns": 0,
"status_code": "string",
"llm_attributes": {
"request_model": "string",
"provider_name": "string",
"input_tokens": 0,
"output_tokens": 0,
"total_cost": "string",
"operation_name": "string",
"output_type": "string",
"sdk_name": "string",
"sdk_version": "string",
"system_prompt": "string",
"user_prompt": "string"
}
}
Was this page helpful?