run_enrichment
Execute data enrichment with provided parameters, automatically handling async polling and returning cached results. Supports pagination for multiple pages.
Instructions
Execute a data enrichment with the provided parameters. Automatically handles async execution and polling, returning final results. Results are cached for 24 hours to reduce costs. Subject to spending limits (DATABAR_MAX_COST_PER_REQUEST, DATABAR_MIN_BALANCE). For paginated enrichments, use the pages parameter to fetch multiple pages (each page is billed separately).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrichment_id | Yes | The ID of the enrichment to run | |
| params | Yes | Parameters required by the enrichment (e.g., {"email": "test@example.com"}) | |
| skip_cache | No | Skip cache and fetch fresh data (default: false) | |
| pages | No | Number of pages to fetch for paginated enrichments (default: 1, max: 100). Each page is billed separately. Use get_enrichment_details to check if pagination is supported. |