CurrentError
The current API's error body, which the retired resource endpoints use (401 auth failures keep the request_status shape above).
Attributes
errorobjectrequiredAttributes
typestringrequiredbad_request, not_found, forbidden, feature_not_enabled, insufficient_credits, credit_cap_exceeded, validation, ...
messagestringrequireddetailsanyOptional extra context
credit_detailCurrentCreditDetailThe estimate made at kickoff next to what has been charged so far. Estimates and credit errors add credits_remaining and sufficient_credits.
Attributes
estimateone ofrequiredAttributes
CurrentCreditEstimate model →
minimumnumberrequiredmaximumnumberrequiredcharged_upfrontbooleanrequiredtrue when
maximumis taken at kickoff (list builds)- null
credits_usednumberrequiredcredits_remainingnumbersufficient_creditsbooleanlegacyLegacyNoticeCarried 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
noticestringrequiredWhat was legacy about the request and what to send instead
successorstringrequiredMETHOD /v1/path of the current operation to use
docsstring urirequiredThe successor's section of the current API docs