Skip to main content
POST
Genai Conversation Chat

ボディ

application/json

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

project_id
string
必須
conversation_id
string
必須
limit
integer
デフォルト:50

Maximum number of conversation turns to return.

必須範囲: 0 <= x <= 50
offset
integer
デフォルト:0

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

必須範囲: x >= 0
include_feedback
boolean
デフォルト:false

レスポンス

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
必須
turns
AgentTraceChatRes · object[]
必須
total_turns
integer
デフォルト:0
必須
has_more
boolean
デフォルト:false
必須
limit
integer
デフォルト:50
必須
offset
integer
デフォルト:0
必須
total_cost_usd
number | null
必須
feedback
AgentChatFeedback · object[] | null
必須
最終更新日 2026年9月30日