Skip to main content
POST
Genai Traces Chat

ボディ

application/json

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

project_id
string
必須
trace_id
string
必須
include_feedback
boolean
デフォルト:false

レスポンス

Successful Response

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

trace_id
string
必須
root_span_name
string | null
必須
agent_name
string | null
必須
agent_version
string | null
必須
status_code
enum<string> | null
必須
利用可能なオプション:
UNSET,
OK,
ERROR
provider
string | null
必須
started_at
string<date-time> | null
必須
ended_at
string<date-time> | null
必須
wb_user_id
string | null
必須
total_duration_ms
integer | null
必須

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

total_cost_usd
number | null
必須
total_input_tokens
integer
デフォルト:0
必須
total_output_tokens
integer
デフォルト:0
必須
total_reasoning_tokens
integer
デフォルト:0
必須
total_cache_creation_input_tokens
integer
デフォルト:0
必須
total_cache_read_input_tokens
integer
デフォルト:0
必須
messages
AgentChatMessage · object[]
必須
feedback
AgentChatFeedback · object[] | null
必須
最終更新日 2026年9月30日