Skip to main content
Endpoints for your own agency: who you are and how much you’ve used this period.

Get your agency

Returns your agency and the API tier your current plan grants.
agency
object
apiTier
string
basic (read-only) or advanced (read and write).

Get usage

Returns your usage for the current billing period, in US dollars.
provisioned
boolean
Whether billing is set up for this workspace.
includedUsd
number
Usage included with your plan this period.
usedUsd
number
Usage consumed so far this period.
purchasedUsd
number
Additional credits you’ve purchased.
availableUsd
number
Remaining balance available to spend.
currentPeriodEnd
string | null
ISO 8601 timestamp when the current period ends.
isTrial
boolean
Whether the workspace is on a trial.