Get Enriched Leads
Enrichment
Get Enriched Leads
Per-Lead progress and results for one Enrichment.
GET
Get Enriched Leads
CLI:
Overview
Returns per-Lead results for one Enrichment. Each item maps one Lead in the original scope to one execution attempt — its status, the enriched values, any error reason, and timing. This is where you read the actual enriched data after the Enrichment completes. Cursor-paginated. Defaultlimit is 50; max 100. Items are ordered by id ascending and the cursor is the last item’s id — pagination is stable within an Enrichment.
Filtering
status— narrow topending,running,completed,skipped, orfailed. Useful for triaging errors after a Run finishes (?status=failed).leadId— fetch the item for one specific Lead.cursor— opaque pagination cursor; use thepage.nextCursorfrom the previous response.
AI agent notes
The post-run journey:
- Wait for Enrichment status to report a terminal status (
completed,failed, orcancelled). GET /api/enrichment/{id}/items— paginate through all items, or filter to read only what you need.- For triage, prefer
?status=failed— tens of thousands ofcompletedpages do not help an agent decide what to do next. - For one specific Lead’s result, use
?leadId={id}instead of paging.
{ items: [...], page: { limit, nextCursor, hasMore } }. Each item includes the Lead id, run id, status, attempt counts, the enriched output payload, skippedReason for skipped items, and error.message for failed items. The output attribute key is available at run.output.attributeKey; fetch it from Enrichment status when needed.On 404: the parent Enrichment does not exist for the effective user. Items are never returned individually — always through this listing endpoint.For high-level status without per-Lead detail, use Enrichment status — it is cheaper and returns run.status, run.scope.resolvedCount, and run.timing.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Minimum string length:
1Query Parameters
Available options:
pending, running, completed, skipped, failed