Skip to main content
POST
Genai Traces Chat

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

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

project_id
string
required
trace_id
string
required
include_feedback
boolean
default:false

Response

Successful Response

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

trace_id
string
required
root_span_name
string | null
provider
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.

messages
AgentChatMessage · object[]
feedback
Feedback · object[] | null