Skip to main content
Version: 0.9.15

Usage reporting

TelAPI exposes a small usage-reporting surface for integrations that need team-level consumption data outside TelWeb.

TTS characters

GET /api/v1/usage/tts-characters returns aggregated TTS character consumption for the API key's team.

Required scope: READ_TEAM_USAGE.

Query parameters:

ParameterDescription
timeframetoday, week, month, year, or total.
fromOptional ISO 8601 lower bound. Use with to for a custom window.
toOptional ISO 8601 upper bound. Use with from for a custom window.

Response fields:

FieldDescription
teamIdTeam whose usage was queried.
timeframeEffective timeframe.
from / toEffective ISO 8601 time window.
charactersTotalTotal TTS characters.
charactersFromCacheCharacters served from the TTS media cache.
charactersGeneratedCharacters newly generated by TTS providers.
cacheHitRatioCached share of total characters, when enough data is available.

Use API keys to grant READ_TEAM_USAGE only to reporting integrations that need this endpoint.

See also

  • Scopes — API-key permission model.
  • Dashboard — TelWeb TTS character widget.
  • API reference — generated schemas when the OpenAPI snapshot is available.