List enrichments (summary)
/enrichments/summaryLegacy. All-time counts of the account's legacy enrichments by status — how many are pending, running, finished, or stopped. Enrichments in the current API have no run status; a dataset's runs are on GET /datasets/{id} and GET /runs (dataset_id), and GET /runs/summary counts every run. Answers with legacy.
Responses
200Enrichment counts by status, with legacy
countsobjectAttributes
pendingintegerenqueuedintegerprocessingintegersuccessintegerstoppedintegerlegacyLegacyNoticeCarried 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
401Unauthorized - invalid or missing API key
request_statusstringrequiredStatus of the request
messagestringrequiredHuman-readable error message
errorsarray of stringList of specific error details
error_typestringrequiredStable, snake_case error identifier. duplicate_run / duplicate_run_key are 409 conflicts from starting a run; credit_limit / insufficient_credits are billing failures; the plan_* / discovery_* / invalid_* / locked values are specific to extraction plan endpoints.
403The API key's account may not access this resource or endpoint (current API envelope)
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