Credits

Get daily usage breakdown

Returns per-day API usage for the specified period (default last 30 days) as a JSON array. For organizations without the "Cost control endpoints" approval, cost_usd is omitted from every entry (the array carries no cost_fields marker). The same gate as GET /v1/usage.

get/v1/credits/usage/daily

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Query parameters

days, integer

Reporting window in days.

Response

Daily usage breakdown.

object[] required
date, string date
calls, integer
input_tokens, string

Summed input tokens for the day (serialized as a string).

output_tokens, string

Summed output tokens for the day (serialized as a string).

cost_usd, string nullable

Estimated cost in USD for the day (serialized as a string).

Changes

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