GET
/
observability
/
spans
/
{trace_id}
/
[
  {
    "cost": 123,
    "duration": 123,
    "end_time": "2023-11-07T05:31:56Z",
    "event_name": "<string>",
    "event_type": "<string>",
    "inputs": [
      "<string>"
    ],
    "meta": {},
    "outputs": [
      "<string>"
    ],
    "parent_span_id": "<string>",
    "prompt_template": "<string>",
    "span_id": "<string>",
    "start_time": "2023-11-07T05:31:56Z",
    "status": "<string>",
    "tags": [
      "<string>"
    ],
    "token_total": 123,
    "tokens_input": 123,
    "tokens_output": 123
  }
]

Path Parameters

trace_id
string
required

Response

200 - application/json
cost
number
duration
integer
end_time
string
required
event_name
string
required
event_type
string
inputs
string[]
meta
object
outputs
string[]
parent_span_id
string
prompt_template
string
span_id
string
required
start_time
string
required
status
string
required
tags
string[]
token_total
integer
tokens_input
integer
tokens_output
integer