Skip to main content
GET
Get your own usage

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. The organization and the permissions applied are those of this user.

Path Parameters

user_id
string
required

ID of the caller.

Maximum string length: 128
Pattern: ^[a-zA-Z0-9_-]+$

Query Parameters

period
enum<string>
default:30d

Sliding window ending now. Any other value uses 30d. Ignored when both from_date and to_date are set.

Available options:
7d,
30d,
90d

Response

The caller's usage.

user_id
string
name
string

First and last name. Absent when the user cannot be resolved.

email
string

Absent when the user cannot be resolved.

totals
object
by_agent
object[]
daily
object[]
meta
object