Internal
Internal

Report Usage

Report usage from voice-agent and deduct from wallet.

Called when a voice call ends with usage metrics.

post/internal/usage/report

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/internal/usage/report
  • Auth: HTTP bearer

Headers

x-internal-keystring nullable

Request body

user_idstring required
agent_idstring nullable
call_idstring nullable
room_namestring nullable
duration_secondsnumber
llm_modelstring
llm_input_tokensinteger
llm_output_tokensinteger
stt_modelstring
stt_audio_secondsnumber
tts_modelstring
tts_charactersinteger
enginestring
transcriptobject[] nullable
active_secondsnumber nullable
tool_callsinteger
look_countinteger

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.