Get lead enrichments
campaignstack_get_lead_enrichmentsList recent workspace lead enrichment rows for async audit: type enrichment_queue (default) covers profile/company refresh jobs, type contact_finder covers built-in email/phone lookups (pass requestId for one specific lookup). The two job kinds have different status vocabularies and are never merged into one list. Use when queue counts are not enough and the user needs bounded row-level evidence. It reads audit state only and never retries work. Results are one page. When pagination reports more, say so rather than presenting the page as the whole set, and page through before counting anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | enrichment_queue = profile/company refresh jobs (status: pending/processing/completed/failed). contact_finder = built-in email/phone lookups (status: queued/linked/submitted/completed/failed). Different systems with different status vocabularies; never mixed in one list. | enrichment_queue |
| limit | No | ||
| cursor | No | ||
| status | No | Status filter in the selected type's own vocabulary (validated against enrichment_queue or contact_finder statuses). | |
| requestId | No | When type is contact_finder, look up exactly this request instead of listing. | |
| workspaceId | No | Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| warnings | No | ||
| missingIds | No | ||
| pagination | Yes |