Conversations

Get conversation consumption

Changed on

Get the same credit breakdown as the conversation consumption view for a conversation the caller can read. Returns stable billed credits for terminal agent messages, including superseded message versions and accessible recursively spawned run-agent conversations. In-progress messages are excluded until they reach a terminal state.

Details use each billed message's newest complete stored attribution. They are null when no messages have positive billed credits or any billed message lacks complete attribution. Agent work and tool attributions partition the bill. Models and agents are alternative groupings of that bill, not additional charges. This endpoint does not return token counts or a cached-versus-uncached input breakdown.

get/api/v1/w/{wId}/assistant/conversations/{cId}/consumption

Request

Path parameters

wIdstring required

ID of the workspace

cIdstring required

ID of the conversation

Response

Conversation consumption retrieved successfully.

billedCreditsnumber required

Stable billed Dust credits for terminal agent messages in the conversation and its accessible run-agent descendants, including superseded message versions.

Changes