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

List enrichments (summary)

GET/enrichments/summaryLegacy

Legacy. 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
countsobject
Attributes
pendinginteger
enqueuedinteger
processinginteger
successinteger
stoppedinteger

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

401Unauthorized - invalid or missing API key
request_statusstringrequired

Status of the request

One of error
messagestringrequired

Human-readable error message

errorsarray of string

List of specific error details

error_typestringrequired

Stable, 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.

One of bad_request validation not_found gone unauthorized forbidden conflict duplicate_run duplicate_run_key credit_limit insufficient_credits invalid_json invalid_json_structure missing_parameter unprocessable_entity locked plan_not_ready run_already_in_progress discovery_in_progress invalid_variables invalid_output_record_json_schema extraction_plan_creation_not_enabled internal_server_error service_unavailable
403The API key's account may not access this resource or endpoint (current API envelope)
errorobjectrequired
Attributes
typestringrequired

bad_request, not_found, forbidden, feature_not_enabled, insufficient_credits, credit_cap_exceeded, validation, ...

messagestringrequired
detailsany

Optional extra context

credit_detailCurrentCreditDetail

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

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