accepts-api-key

Get Chat Usage

Return chat-token and per-tool token usage for a chat, and its sub-chats' total.

get/agent/chat/{chat_id}/usage

Request

  • Base URL
    https://api.tellers.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

chat_idstring uuid required

Headers

x-api-keystring nullable
authorizationstring nullable

Response

Successful Response

chat_idstring required
chat_tokens_usednumber required
tools_tokens_usednumber required
sub_chats_tokens_usednumber

What this chat's sub-chats spent, agent and tools together. Already counted in total_tokens_used; chat_tokens_used, tools and breakdown cover this chat only.

sub_chat_countinteger

How many sub-chats this chat has started.

total_tokens_usednumber required

This chat's spend plus its sub-chats'.

Changes

No recorded changes to this operation across all 2 revisions of this API.