Skip to main content
GET
Get daily usage

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <THRED_API_KEY>. Development keys begin thr_dev_; Production keys begin thr_prod_. Each key is scoped to a workspace and environment. Keep secrets on your server.

Query Parameters

from
string<date>

First UTC date, inclusive. Defaults to today.

Pattern: ^\d{4}-\d{2}-\d{2}$
to
string<date>

Last UTC date, inclusive. Must be on or after from and no more than 30 days later. Defaults to today.

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Daily operational usage for the selected API environment.

from
string<date>
required
to
string<date>
required
environment
enum<string>
required

The API key selects the workspace environment. Development and Production are isolated, but either can place real calls when enabled.

Available options:
development,
production
timezone
enum<string>
required
Available options:
UTC
attribution
enum<string>
required
Available options:
call_created_date
billing_status
enum<string>
required
Available options:
unreconciled
billed_seconds
enum<number> | null
required

Always null; these counters are not billing reconciliation.

Available options:
null
data
object[]
required
Required array length: 1 - 31 elements