Skip to main content
GET
Read credit usage for a date range

Authorizations

Authorization
string
header
required

Opaque user-bound ca_ account credential. Each request checks live account scopes, verified email, expiry, revocation and the issuer session. Not a workspace ck_ key or OAuth access token.

Path Parameters

workspaceId
string
required
Minimum string length: 1

Query Parameters

range
enum<string>
Available options:
7d,
30d,
90d,
all,
custom
from
string
Pattern: ^\d{4}-\d{2}-\d{2}$
to
string
Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Read credit usage for a date range

{key}
any