APILegacy
Legacy API. These endpoints keep working. New integrations should use the current API.
Model

CurrentRun

The current API's run object (run_... ids; the full shape is Run in the current API docs). Poll it with GET /runs/{id} and read the rows with GET /runs/{id}/result.

Attributes

idstringrequired

The run id (run_...)

typestringrequired
One of dataset_build
statusstringrequired
One of pending enqueued processing success stopped
progressCurrentRunProgressrequired

Completion estimate of a run in the current API's shape (the full shape is RunProgress in the current API docs).

Attributes
percent_completenumbernullable
estimated_seconds_remainingnumbernullable
elapsed_secondsnumbernullable
credits_usednumber
credit_detailCurrentCreditDetailrequired

The estimate made at kickoff next to what has been charged so far. Estimates and credit errors add credits_remaining and sufficient_credits.

Attributes
estimateone ofrequired
Attributes
One of
  • CurrentCreditEstimate model →
    minimumnumberrequired
    maximumnumberrequired
    charged_upfrontbooleanrequired

    true when maximum is taken at kickoff (list builds)

  • null
credits_usednumberrequired
credits_remainingnumber
sufficient_creditsboolean
app_urlstring uri
result_urlstring urirequired
started_atstring date-timenullable
finished_atstring date-timenullable
errorobjectnullable
Attributes
typestring
messagestring
stopped_reasonstring
One of user_request credit_limit error
webhook_urlstring uri
legacyLegacyNoticerequired

Carried by every response of a retired resource endpoint and by the current API's paths when a request took a legacy mode. The response also has Deprecation: true and a Link header (rel="successor-version").

Attributes
noticestringrequired

What was legacy about the request and what to send instead

successorstringrequired

METHOD /v1/path of the current operation to use

docsstring urirequired

The successor's section of the current API docs

Used by