bots

What the bot has consumed so far on speech-to-text, text-to-speech and the LLM.

Live while the bot is in the call, final once it has left. key_sources says per provider whether the bot ran on the server's key (billed by Meeting BaaS) or on one the request brought. Only the API key that created the bot may read it.

get/bots/{bot_id}/usage

Request

Path parameters

bot_idstring required

Response

Successful Response

bot_idstring required
meetingbaas_bot_idstring nullable
stt_providerstring required
tts_providerstring required
llm_providerstring nullable
llm_modelstring nullable
key_sourcesobject

Per provider: 'platform' (ran on the server's key) or 'caller'

started_atnumber required
ended_atnumber nullable
duration_secondsnumber required
stt_audio_secondsnumber required
tts_charactersinteger required
tts_requestsinteger required
llm_turnsinteger required
llm_prompt_tokensinteger required
llm_cached_prompt_tokensinteger required
llm_completion_tokensinteger required
llm_total_tokensinteger required

Changes