Skip to main content
POST
Genai Conversation Chat

Corps

application/json

Request to get the multi-turn chat view for a conversation.

project_id
string
requis
conversation_id
string
requis
limit
integer
défaut:50

Maximum number of conversation turns to return.

Plage requise: 0 <= x <= 50
offset
integer
défaut:0

Number of most-recent turns to skip. Results are returned in chronological order within the selected page.

Plage requise: x >= 0
include_feedback
boolean
défaut:false

Réponse

Successful Response

Multi-turn chat view: an ordered list of per-turn chat responses.

Each entry in turns corresponds to one trace_id, which Weave treats as one conversation turn. This is not necessarily one invoke_agent span: a turn can contain zero, one, or many agent invocations. The frontend can render turn-number dividers between entries and still reuse AgentTraceChatRes rendering for each individual turn.

conversation_id
string
requis
turns
AgentTraceChatRes · object[]
requis
total_turns
integer
défaut:0
requis
has_more
boolean
défaut:false
requis
limit
integer
défaut:50
requis
offset
integer
défaut:0
requis
total_cost_usd
number | null
requis
feedback
AgentChatFeedback · object[] | null
requis
Dernière modification le 30 septembre 2026