Skip to main content

POST /public/enrich

Enrich items with AI-powered web research. Every extracted field includes source URLs.

Request Parameters

Core Parameters

Search Options

Taxonomy & Quality

Job Control


Large Jobs And File Uploads

Inline JSON requests are capped at 1000 items and 10 MB. For larger jobs, send multipart/form-data with a small request_json field and exactly one items_file upload.
items_file must be either a JSON array of item objects or an object with an items array. Do not send items_storage_url; that field is internal.

Output Schema

Define fields to extract. Each field needs a name, type, and description.

Field Options


Response

Response Fields

Result Item Fields


GET /public/enrich/

Poll enrichment job status and retrieve results. Results are returned progressively — partial results are available while the job is still running, as each batch of items completes processing.

Query Parameters

Poll Response

Poll Response Fields

While status is running, completed_items reflects how many items have finished so far. Use completed_items and total_items to show progress. credits_used remains 0 until the job finishes.

Status Values

Cancelled jobs are reported as failed. Partial results and credits for completed items are preserved.

Source Citations

Each result includes all_sources — the URLs used during enrichment.
When web_search is false, the AI uses only the input data (INPUT_DATA) to derive field values.

AI Transparency

Every result includes review_info with AI reasoning:

Webhooks

Instead of polling GET /public/enrich/{job_id}, you can provide a webhook_url to receive a POST when the job finishes. The URL must use HTTPS.

Webhook Payload

When the job completes, we POST a JSON body to your URL:
Webhook delivery is best-effort with a single attempt and a 30-second timeout. If delivery fails the job is unaffected — use polling as a fallback.

Job Management

GET /public/enrich/jobs

List enrichment jobs for your organization, with optional status filtering and pagination.

Query Parameters

Response

Each job object:

POST /public/enrich//cancel

Cancel a running enrichment job. Items already processed are kept and credits are charged only for completed items.

Response

Cancellation is intended for active jobs. Jobs that are already cancelled return a successful cancelled response; completed jobs may return an error.

POST /public/enrich//to-catalog

Create a new catalog from an enrichment run.
Use this when you ran enrichment first and want to persist the finished results as a new catalog.

Templates, Inference, And Judging

Example inference request:
Example judge request: