Get Billing Info
Changed onRetrieves credit balance, current-period credit usage, tier, and billing limits for the authenticated project. Pass from_date, to_date, or granularity to additionally receive a usage time series of credits used per period, matching GET /v1/sessions/history?metrics=credits_used.
Request
- Base URLhttps://api.anchorbrowser.io
- AuthAPI key in header anchor-api-key
Query parameters
Start of the usage window (ISO 8601 format, UTC). Passing any of from_date, to_date, or granularity adds a usage block to the response. Defaults to 30 days ago.
End of the usage window (ISO 8601 format, UTC). Defaults to now.
Time granularity for the usage time series.
Response
Billing information retrieved successfully.
Changes
- info
added the new optional
queryrequest parameterfrom_date - info
added the new optional
queryrequest parametergranularity - info
added the new optional
queryrequest parameterto_date - info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info