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일