Skip to main content
POST
Genai Traces Chat

Corps

application/json

Request to get the structured chat / trajectory view for a trace.

project_id
string
requis
trace_id
string
requis
include_feedback
boolean
défaut:false

Réponse

Successful Response

Structured chat view: a linear sequence of messages representing the agent trajectory for a single trace.

trace_id
string
requis
root_span_name
string | null
requis
agent_name
string | null
requis
agent_version
string | null
requis
status_code
enum<string> | null
requis
Options disponibles:
UNSET,
OK,
ERROR
provider
string | null
requis
started_at
string<date-time> | null
requis
ended_at
string<date-time> | null
requis
wb_user_id
string | null
requis
total_duration_ms
integer | null
requis

Wall-clock duration of the trace root span in milliseconds. This is not a sum of child span durations.

total_cost_usd
number | null
requis
total_input_tokens
integer
défaut:0
requis
total_output_tokens
integer
défaut:0
requis
total_reasoning_tokens
integer
défaut:0
requis
total_cache_creation_input_tokens
integer
défaut:0
requis
total_cache_read_input_tokens
integer
défaut:0
requis
messages
AgentChatMessage · object[]
requis
feedback
AgentChatFeedback · object[] | null
requis
Dernière modification le 30 septembre 2026