Spans
Get Span
Get full details of a single span
GET
Request
Bearer token with your API key:
Bearer tr_your_api_keyThe span ID (e.g.,
sp_abc123def456)Response
Internal identifier
External span ID
Trace session ID if part of a multi-turn conversation
Parent span ID for chained conversations
Slug of the prompt that was run (null for runLocal spans)
Version of the prompt used
Model used (e.g.,
gpt-4o)Provider name (e.g.,
openai, amazon_bedrock)Input messages sent to the model
Template variables used in the prompt
Model response text
SUCCESS or ERRORError message if status is
ERRORExecution time in milliseconds
Number of input tokens
Number of output tokens
Total tokens used
Cost in USD
Tags associated with this span
End user ID
Session ID
ISO 8601 timestamp
Authorizations
API key starting with tr_
Path Parameters
The span ID (e.g., sp_abc123def456)
Response
Successful response
Internal identifier
External span ID (e.g., sp_abc123)
Session/trace ID for multi-turn conversations
Parent span ID for chained conversations
Slug of the prompt that was run (null for runLocal spans)
Version of the prompt used
Model used (e.g., gpt-4o)
Provider name (e.g., openai, amazon_bedrock)
Template variables used in the prompt
Model response text
Available options:
SUCCESS, ERROR Error message if status is ERROR
Execution time in milliseconds
Cost in USD

