API
Account

Account

GET/account

Information about the account associated with the API key: plan, credit balance, and the key's metadata. The response uses the request_status format.

Responses

200Account information retrieved successfully
request_statusstringrequired
One of success
messagestringrequired
accountAccountrequired
Attributes
uuidstring uuidrequired

Unique identifier for the account

namestringrequired

Account name

planstringrequired

Current billing plan

One of free starter advanced pro enterprise
creditCreditrequired
Attributes
countintegerrequired

Current credit count

maxintegerrequired

Maximum credits available

balanceintegerrequired

Remaining credit balance

api_key_infoApiKeyInforequired
Attributes
namestringrequired

Name of the API key

last_used_atstring date-timerequirednullable

When the API key was last used

created_byUserrequired
Attributes
uuidstring uuidrequired

User's unique identifier

namestringrequired

User's full name

emailstring emailrequired

User's email address

401Missing or invalid API key (request_status body — see the AuthError schema)
request_statusstring
One of error
messagestring
error_typestring
One of unauthorized
403The API key's account may not access this resource or endpoint (forbidden), or the account has not migrated to Datasets yet (feature_not_enabled — open Datasets in the app and click "Migrate to Datasets")
errorobjectrequired
Attributes
typestringrequired

Machine-readable error type (bad_request, not_found, forbidden, feature_not_enabled, duplicate_run_key, insufficient_credits, credit_cap_exceeded, validation, not_implemented, ...)

messagestringrequired

Human-readable explanation

detailsany

Optional extra context (e.g. per-field validation errors)

credit_detailCreditDetail

The estimate made at kickoff next to what has been charged so far. estimate is null for runs started before estimates existed. Estimates and credit errors add credits_remaining and sufficient_credits.

Attributes
estimateone ofrequired
Attributes
One of
  • CreditEstimate model →
    minimumnumberrequired

    Least the run can cost

    expectednumber

    Likely cost from past runs of the same config; absent without history

    typicalobject

    Recent p25–p75 settled range for builds of this size; absent without a dataset build estimate

    Attributes
    lownumberrequired
    highnumberrequired
    maximumnumberrequired

    Most the run can cost

    upfrontnumber

    Credits taken at kickoff when charged_upfront is true; 0 when the charge accrues as work completes

    charged_upfrontbooleanrequired

    true when a deposit is taken at kickoff (dataset builds, extractions); false when credits accrue as work completes

  • null
credits_usednumberrequired

Credits charged so far (same value as the top-level credits_used)

credits_remainingnumber

Account balance. Only on estimates and credit errors.

sufficient_creditsboolean

Whether the balance covers estimate.maximum. Only on estimates and credit errors.