---
title: "Report Usage"
method: POST
path: "/internal/usage/report"
tags: ["Internal", "Internal"]
---

# Report Usage

`POST /internal/usage/report`

## Request

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

Report usage from voice-agent and deduct from wallet.

Called when a voice call ends with usage metrics.

## Headers

- `x-internal-key` string, nullable

## Request body

- ReportUsageRequest: Usage report from voice-agent.
  - `user_id` string, required
  - `agent_id` string, nullable
  - `call_id` string, nullable
  - `room_name` string, nullable
  - `duration_seconds` number
  - `llm_model` string
  - `llm_input_tokens` integer
  - `llm_output_tokens` integer
  - `stt_model` string
  - `stt_audio_seconds` number
  - `tts_model` string
  - `tts_characters` integer
  - `engine` string
  - `transcript` object[], nullable
  - `active_seconds` number, nullable
  - `tool_calls` integer
  - `look_count` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/call2me/apis/call2me-api.md) · [All operations](https://skmtc.dev/call2me/apis/call2me-api/llms.txt) · [OpenAPI document](https://skmtc.dev/call2me/apis/call2me-api/revisions/3951f9b7e47d?raw)
