Large jobs: send multipart/form-data with a small request_json and
one items_file JSON upload. items_file must be a JSON array, or an
object with an items array. Do not send items_storage_url; it is internal.
All items are stored in the activity, so full runs can be triggered later using source_activity_id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
X-Organization-Id
string | null
Body
application/jsonmultipart/form-data
Request to enrich item data.
prompt
string | null
default:""
Search prompt for web enrichment (e.g., 'Find product specifications'). Optional - defaults to empty string.
items
Items · object[]
List of items to enrich. Required unless source_activity_id or source_catalog_id is provided.
output_schema
FieldDefinition · object[]
Schema defining fields to extract. Required unless source_activity_id or source_catalog_id is provided.
Show child attributes
attribute_sets
Attribute Sets · object | null
Canonical registry for requested-attribute jobs. Items carry attribute_set_id; workers expand that id to requested_attributes only at runtime. Per-row requested_attributes payloads are rejected by the public endpoint.
Show child attributes
source_hint_sets
Source Hint Sets · object | null
Canonical registry for repeated per-item source hints. Items carry source_hint_set_id; workers expand that id to source_hints only at runtime. Inline source_hints are rejected by the public endpoint.
allowed_domains
string[] | null
Restrict web scraping to these domains only
blocked_domains
string[] | null
Domains to exclude from web search and URL fetches
If true (default), performs web search to gather content. If false, skips web search and uses input data directly for extraction/validation.
max_rows
integer | null
Limit processing to first N items. All items are stored. Use source_activity_id to process remaining items later.
taxonomy
Taxonomy · object | null
Taxonomy definition for category prediction (TaxonomyInput format)
predict_taxonomy
boolean
default:false
If true and taxonomy is provided, predict category_id for each item
predict_taxonomy_attributes
boolean
default:true
If true, also predict taxonomy_attributes after classification. Set false for taxonomy classification only.
validate_semantics
boolean
default:false
If true, AI validates that field values make sense given their descriptions (e.g., email field contains valid email format)
review_mode
boolean
default:true
Run the enrich review agent after enrichment, apply clear output corrections, and attach activity.output.audit decisions. Public enrichment jobs keep this enabled.
audit_decisions_enabled
boolean
default:true
When false, the post-enrichment audit still applies clear output corrections but suppresses human-facing audit decisions/suggestions.
include_source_explanations
boolean
default:true
Include source_explanation for each enriched field (and taxonomy attribute) explaining how the value was derived from sources. Always enabled.
low_confidence
LowConfidenceConfig · object | null
Optional add-on for returning low-confidence candidates at the end of each result
Show child attributes
catalog_id
string | null
Optional catalog ID to link this enrichment job to
If true, returns immediately with job_id instead of waiting for results
staged_status
string
default:pending
Status for staged changes: 'pending' (default, visible to admin) or 'draft' (vendor draft, not visible to admin until submitted)
source_activity_id
string | null
Activity ID of a previous run. Processes all stored items using saved config.
source_catalog_id
string | null
Catalog UUID to read items FROM as the enrichment input. Independent of catalog_id (the write target).
file_name
string | null
Original file name if items were loaded from a file
include_service_usage
boolean
default:false
If true, include detailed service_usage metrics (costs, tokens, per-item stats) in response
include_debug_log
boolean
default:false
If true, capture full audit log per item (raw markdown, tool history, LLM responses) and upload to storage
capture_source_artifacts
boolean
default:false
If true, preserve durable copies of consulted source material for audit trails. Web pages are captured as screenshots; PDFs are copied as PDF files.
reextract_from_activity_id
string | null
Activity ID to re-extract from. Skips web gather, reuses stored web research data. Supports prompt/schema overrides and feedback.
global_feedback
string | null
Feedback to apply to all items during re-extraction (appended to prompt)
item_feedback
Item Feedback · object | null
Per-item feedback keyed by row index as string (e.g. {'0': 'Wrong product', '3': 'Price is in EUR not USD'})
Show child attributes
source_row_indices
integer[] | null
Row indices to re-extract (others carried forward from source). Only used with reextract_from_activity_id.
webhook_url
string | null
HTTPS URL to POST results to when job completes. Must use https://.
knowledge_base_enabled
boolean
default:false
If true, use an uploaded knowledge base (OpenAI vector store) for structured generation.
knowledge_base_vector_store_id
string | null
OpenAI vector store ID containing uploaded knowledge base files.
knowledge_base_sources
Knowledge Base Sources · object | null
Optional SOURCE_X -> source URL mapping used for field-level citations (for example {'SOURCE_1': 'https://.../specs.pdf'}).
Show child attributes
knowledge_base_metadata
Knowledge Base Metadata · object | null
Optional SOURCE_X -> metadata mapping for uploaded knowledge-base files (for example {'SOURCE_1': {'doc_type': 'approved_marketing'}}).
Show child attributes
host_media
boolean
default:false
If true, upload all media URLs (images, PDFs) found in enrichment results to hosted storage, replacing with hosted URLs.
strict_hosted_media
boolean
default:false
If true, media/document output fields are cleared unless the URL is successfully copied to hosted storage.
image_processing
ImageProcessingConfig · object | null
Optional deterministic post-processing for hosted images, such as square white-background catalog normalization.
Show child attributes
Response
Successful Response
Response with enriched data for all items.
total_items
integer
required
Number of items being processed (may be limited by max_rows)
job_id
string | null
Job ID for tracking (always returned). Use this with source_activity_id to trigger full run.
results
EnrichItemResult · object[]
Enrichment results for each item (empty if async_mode=true)
Show child attributes
total_rows
integer | null
Total items passed in the request (before max_rows limit)
successful
integer
default:0
Number of successfully enriched items
credits_used
integer
default:0
Number of credits used (1 per successful item)
status
string
default:completed
Job status: 'running' (async) or 'completed' (sync)
service_usage
Service Usage · object | null
Detailed API usage metrics (costs, calls, tokens) - only present when job is complete
pricing_estimates
Pricing Estimates · object | null
Estimated pricing breakdown (for example knowledge-base storage + model runtime costs when available)
knowledge_base_enabled
boolean | null
Whether this enrichment job used a knowledge base vector store
knowledge_base_sources
Knowledge Base Sources · object | null
SOURCE_X -> hosted document URL mapping for knowledge-base files used by the activity
Show child attributes
page
integer | null
Current page number (1-indexed)
page_size
integer | null
Number of results per page
total_pages
integer | null
Total number of pages available
completed_items
integer | null
Number of items with results available so far (useful while status=running)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Rastro","colors":{"primary":"#F59E0B","light":"#FBBF24","dark":"#D97706"},"logo":{"light":"https://mintcdn.com/rastroai/T_drg5gosujhYwSp/logo/light.svg?fit=max\u0026auto=format\u0026n=T_drg5gosujhYwSp\u0026q=85\u0026s=9703d51a9c54491de0f5d18faee57021","dark":"https://mintcdn.com/rastroai/T_drg5gosujhYwSp/logo/dark.svg?fit=max\u0026auto=format\u0026n=T_drg5gosujhYwSp\u0026q=85\u0026s=42605dc14b44d15abfa33e9fa79f7a21"},"favicon":"https://mintcdn.com/rastroai/T_drg5gosujhYwSp/favicon.svg?fit=max\u0026auto=format\u0026n=T_drg5gosujhYwSp\u0026q=85\u0026s=42c483bd15761baa0cd546f2f5f9c2cc","api":{"playground":{}},"background":{"decoration":"gradient"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rastroai","hasAudioNarration":false,"actualSubdomain":"rastroai","customDomains":["docs.rastro.ai"],"gitSource":{"type":"github","owner":"rastro-ai","repo":"rastro-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae945fb2e390c43a72023dd:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Complete API Reference","count":50},{"language":"default","tag":"Catalogs","count":24},{"language":"default","tag":"Enrich","count":10},{"language":"default","tag":"Flows","count":6},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"Catalog Activities","count":4},{"language":"default","tag":"Enrich API","count":3},{"language":"default","tag":"Catalog Schemas","count":3},{"language":"default","tag":"Catalog Snapshots","count":3},{"language":"default","tag":"Catalog Taxonomies","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/enrich/enrich-data","slug":"/api-reference/enrich/enrich-data","pageMetadata":{"title":"Enrich Data","description":"Enrich items using web research, with optional taxonomy prediction.\n\nAccepts both `application/json` (plain JSON body) and `multipart/form-data`\n(with `request_json` field, optional `items_file`, and optional\n`knowledge_base_files`).\n\n**Two modes of operation:**\n\n1. **Direct mode**: Pass items and output_schema directly\n2. **Full-run mode**: Pass `source_activity_id` from a previous run to process all stored items\n\n**Example: Direct enrichment**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"items\": [{\"name\": \"iPhone 15 Pro\"}],\n \"output_schema\": [\n {\"name\": \"price\", \"type\": \"string\", \"description\": \"Current retail price\"},\n {\"name\": \"weight\", \"type\": \"string\", \"description\": \"Product weight\"}\n ]\n}\n```\n\n**Example: Dry run (process first 10 items)**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"items\": [... all 1000 items ...],\n \"output_schema\": [...],\n \"max_rows\": 10\n}\n```\n\n**Example: Full run from previous activity**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"source_activity_id\": \"abc123-previous-activity-id\"\n}\n```\n\n**Large jobs:** send multipart/form-data with a small `request_json` and\none `items_file` JSON upload. `items_file` must be a JSON array, or an\nobject with an `items` array. Do not send `items_storage_url`; it is internal.\n\nAll items are stored in the activity, so full runs can be triggered later using `source_activity_id`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/enrich","href":"/api-reference/enrich/enrich-data","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Enrich items using web research, with optional taxonomy prediction.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Accepts both \", _jsx(_components.code, {\n children: \"application/json\"\n }), \" (plain JSON body) and \", _jsx(_components.code, {\n children: \"multipart/form-data\"\n }), \"\\n(with \", _jsx(_components.code, {\n children: \"request_json\"\n }), \" field, optional \", _jsx(_components.code, {\n children: \"items_file\"\n }), \", and optional\\n\", _jsx(_components.code, {\n children: \"knowledge_base_files\"\n }), \").\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Two modes of operation:\"\n })\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Direct mode\"\n }), \": Pass items and output_schema directly\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Full-run mode\"\n }), \": Pass \", _jsx(_components.code, {\n children: \"source_activity_id\"\n }), \" from a previous run to process all stored items\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example: Direct enrichment\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"8\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"8\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"prompt\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Find product specifications\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [{\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"iPhone 15 Pro\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}],\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"output_schema\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"price\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"string\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Current retail price\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"},\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" {\"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"weight\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"string\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"\\\"description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Product weight\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example: Dry run (process first 10 items)\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"6\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"6\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"prompt\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Find product specifications\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [\"\n }), _jsx(_components.span, {\n style: {\n color: \"#82071E\",\n \"--shiki-light-font-style\": \"italic\",\n \"--shiki-dark\": \"#F44747\",\n \"--shiki-dark-font-style\": \"inherit\"\n },\n children: \"...\"\n }), _jsx(_components.span, {\n style: {\n color: \"#82071E\",\n \"--shiki-light-font-style\": \"italic\",\n \"--shiki-dark\": \"#F44747\",\n \"--shiki-dark-font-style\": \"inherit\"\n },\n children: \" all\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \" 1000\"\n }), _jsx(_components.span, {\n style: {\n color: \"#82071E\",\n \"--shiki-light-font-style\": \"italic\",\n \"--shiki-dark\": \"#F44747\",\n \"--shiki-dark-font-style\": \"inherit\"\n },\n children: \" items\"\n }), _jsx(_components.span, {\n style: {\n color: \"#82071E\",\n \"--shiki-light-font-style\": \"italic\",\n \"--shiki-dark\": \"#F44747\",\n \"--shiki-dark-font-style\": \"inherit\"\n },\n children: \" ...\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"],\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"output_schema\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": [\"\n }), _jsx(_components.span, {\n style: {\n color: \"#82071E\",\n \"--shiki-light-font-style\": \"italic\",\n \"--shiki-dark\": \"#F44747\",\n \"--shiki-dark-font-style\": \"inherit\"\n },\n children: \"...\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"],\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"max_rows\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \"10\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example: Full run from previous activity\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"4\",\n language: \"json\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"json\",\n children: _jsxs(_components.code, {\n language: \"json\",\n numberOfLines: \"4\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"prompt\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"Find product specifications\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#116329\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" \\\"source_activity_id\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \": \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"abc123-previous-activity-id\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"}\"\n })\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Large jobs:\"\n }), \" send multipart/form-data with a small \", _jsx(_components.code, {\n children: \"request_json\"\n }), \" and\\none \", _jsx(_components.code, {\n children: \"items_file\"\n }), \" JSON upload. \", _jsx(_components.code, {\n children: \"items_file\"\n }), \" must be a JSON array, or an\\nobject with an \", _jsx(_components.code, {\n children: \"items\"\n }), \" array. Do not send \", _jsx(_components.code, {\n children: \"items_storage_url\"\n }), \"; it is internal.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"All items are stored in the activity, so full runs can be triggered later using \", _jsx(_components.code, {\n children: \"source_activity_id\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Enrich Data","description":"Enrich items using web research, with optional taxonomy prediction.\n\nAccepts both `application/json` (plain JSON body) and `multipart/form-data`\n(with `request_json` field, optional `items_file`, and optional\n`knowledge_base_files`).\n\n**Two modes of operation:**\n\n1. **Direct mode**: Pass items and output_schema directly\n2. **Full-run mode**: Pass `source_activity_id` from a previous run to process all stored items\n\n**Example: Direct enrichment**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"items\": [{\"name\": \"iPhone 15 Pro\"}],\n \"output_schema\": [\n {\"name\": \"price\", \"type\": \"string\", \"description\": \"Current retail price\"},\n {\"name\": \"weight\", \"type\": \"string\", \"description\": \"Product weight\"}\n ]\n}\n```\n\n**Example: Dry run (process first 10 items)**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"items\": [... all 1000 items ...],\n \"output_schema\": [...],\n \"max_rows\": 10\n}\n```\n\n**Example: Full run from previous activity**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"source_activity_id\": \"abc123-previous-activity-id\"\n}\n```\n\n**Large jobs:** send multipart/form-data with a small `request_json` and\none `items_file` JSON upload. `items_file` must be a JSON array, or an\nobject with an `items` array. Do not send `items_storage_url`; it is internal.\n\nAll items are stored in the activity, so full runs can be triggered later using `source_activity_id`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/enrich","href":"/api-reference/enrich/enrich-data","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Enrich"],"summary":"Enrich Data","description":"Enrich items using web research, with optional taxonomy prediction.\n\nAccepts both `application/json` (plain JSON body) and `multipart/form-data`\n(with `request_json` field, optional `items_file`, and optional\n`knowledge_base_files`).\n\n**Two modes of operation:**\n\n1. **Direct mode**: Pass items and output_schema directly\n2. **Full-run mode**: Pass `source_activity_id` from a previous run to process all stored items\n\n**Example: Direct enrichment**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"items\": [{\"name\": \"iPhone 15 Pro\"}],\n \"output_schema\": [\n {\"name\": \"price\", \"type\": \"string\", \"description\": \"Current retail price\"},\n {\"name\": \"weight\", \"type\": \"string\", \"description\": \"Product weight\"}\n ]\n}\n```\n\n**Example: Dry run (process first 10 items)**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"items\": [... all 1000 items ...],\n \"output_schema\": [...],\n \"max_rows\": 10\n}\n```\n\n**Example: Full run from previous activity**\n```json\n{\n \"prompt\": \"Find product specifications\",\n \"source_activity_id\": \"abc123-previous-activity-id\"\n}\n```\n\n**Large jobs:** send multipart/form-data with a small `request_json` and\none `items_file` JSON upload. `items_file` must be a JSON array, or an\nobject with an `items` array. Do not send `items_storage_url`; it is internal.\n\nAll items are stored in the activity, so full runs can be triggered later using `source_activity_id`.","operationId":"enrich_data_api_public_enrich_post","parameters":["07ec6d8b-b01e-4996-aae3-cdcab5ed040f"],"responses":{"200":"0993abb8-bfc5-4bc0-8ab3-5ad3715ad109","422":"7f2a521f-5b69-4650-a8b9-1e6c85263208"},"security":["3e6016ba-da73-4126-ba0d-ac658cad7ab4"],"requestBody":"6207439a-175c-4f05-8d31-c36b54a841fa","method":"post","type":"path","servers":["eb333100-f17c-4ba7-94a2-923f785f93a3"],"path":"/public/enrich","baseUrlOptions":["https://catalogapi.rastro.ai/api"],"title":"Enrich Data","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"07ec6d8b-b01e-4996-aae3-cdcab5ed040f":{"name":"X-Organization-Id","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"X-Organization-Id","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"X-Organization-Id","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"description":"Request to enrich item data.","properties":{"prompt":{"oneOf":[{"type":"string","title":"Prompt","description":"Search prompt for web enrichment (e.g., 'Find product specifications'). Optional - defaults to empty string.","default":"","uniqueKey":"prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prompt","description":"Search prompt for web enrichment (e.g., 'Find product specifications'). Optional - defaults to empty string.","default":"","uniqueKey":"prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt","typeLabel":"string | null"},"items":{"description":"List of items to enrich. Required unless source_activity_id or source_catalog_id is provided.","items":{"additionalProperties":true,"type":"object","uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"title":"Items","type":"array","uniqueKey":"\\items","typeLabel":"Items · object[]"},"output_schema":{"description":"Schema defining fields to extract. Required unless source_activity_id or source_catalog_id is provided.","items":{"description":"Definition for a single field to extract - matches attribute mapper field schema.","properties":{"name":{"description":"Field name","title":"Name","type":"string","isRequired":true,"uniqueKey":"output_schema.items.[INDEX].name","typeLabel":"string"},"description":{"description":"Description of what to extract for this field","title":"Description","type":"string","isRequired":true,"uniqueKey":"output_schema.items.[INDEX].description","typeLabel":"string"},"type":{"default":"string","description":"Field type: string, number, integer, boolean, array","title":"Type","type":"string","uniqueKey":"output_schema.items.[INDEX].type","typeLabel":"string"},"array_element_type":{"oneOf":[{"type":"string","title":"Array Element Type","description":"For array fields, the type of elements: string, number, integer, image_url","uniqueKey":"output_schema.items.[INDEX].array_element_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Array Element Type","description":"For array fields, the type of elements: string, number, integer, image_url","uniqueKey":"output_schema.items.[INDEX].array_element_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].array_element_type","typeLabel":"string | null"},"unit":{"oneOf":[{"type":"string","title":"Unit","description":"Units for numeric fields (e.g., 'kg', 'USD', 'cm')","uniqueKey":"output_schema.items.[INDEX].unit.oneOf.0","typeLabel":"string"},{"type":"null","title":"Unit","description":"Units for numeric fields (e.g., 'kg', 'USD', 'cm')","uniqueKey":"output_schema.items.[INDEX].unit.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].unit","typeLabel":"string | null"},"enum":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output_schema.items.[INDEX].enum.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Enum","description":"Constrain extraction to these specific values","uniqueKey":"output_schema.items.[INDEX].enum.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Enum","description":"Constrain extraction to these specific values","uniqueKey":"output_schema.items.[INDEX].enum.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].enum","typeLabel":"string[] | null"},"items_enum":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output_schema.items.[INDEX].items_enum.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Items Enum","description":"For array fields, constrain items to these specific values","uniqueKey":"output_schema.items.[INDEX].items_enum.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Items Enum","description":"For array fields, constrain items to these specific values","uniqueKey":"output_schema.items.[INDEX].items_enum.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].items_enum","typeLabel":"string[] | null"},"sample_values":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output_schema.items.[INDEX].sample_values.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Sample Values","description":"Example values to guide extraction","uniqueKey":"output_schema.items.[INDEX].sample_values.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Sample Values","description":"Example values to guide extraction","uniqueKey":"output_schema.items.[INDEX].sample_values.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].sample_values","typeLabel":"string[] | null"},"required":{"oneOf":[{"type":"boolean","title":"Required","description":"Whether the field is required","uniqueKey":"output_schema.items.[INDEX].required.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Required","description":"Whether the field is required","uniqueKey":"output_schema.items.[INDEX].required.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].required","typeLabel":"boolean | null"},"merge":{"oneOf":[{"type":"boolean","title":"Merge","description":"Whether to merge with existing values","uniqueKey":"output_schema.items.[INDEX].merge.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Merge","description":"Whether to merge with existing values","uniqueKey":"output_schema.items.[INDEX].merge.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].merge","typeLabel":"boolean | null"},"pattern":{"oneOf":[{"type":"string","title":"Pattern","description":"Optional regex pattern constraint for extracted text","uniqueKey":"output_schema.items.[INDEX].pattern.oneOf.0","typeLabel":"string"},{"type":"null","title":"Pattern","description":"Optional regex pattern constraint for extracted text","uniqueKey":"output_schema.items.[INDEX].pattern.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].pattern","typeLabel":"string | null"},"pattern_message":{"oneOf":[{"type":"string","title":"Pattern Message","description":"Human-readable guidance for the pattern constraint","uniqueKey":"output_schema.items.[INDEX].pattern_message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Pattern Message","description":"Human-readable guidance for the pattern constraint","uniqueKey":"output_schema.items.[INDEX].pattern_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].pattern_message","typeLabel":"string | null"},"min_length":{"oneOf":[{"type":"integer","title":"Min Length","description":"Minimum string length","uniqueKey":"output_schema.items.[INDEX].min_length.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Min Length","description":"Minimum string length","uniqueKey":"output_schema.items.[INDEX].min_length.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].min_length","typeLabel":"integer | null"},"max_length":{"oneOf":[{"type":"integer","title":"Max Length","description":"Maximum string length","uniqueKey":"output_schema.items.[INDEX].max_length.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Length","description":"Maximum string length","uniqueKey":"output_schema.items.[INDEX].max_length.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].max_length","typeLabel":"integer | null"},"minimum":{"oneOf":[{"type":"number","title":"Minimum","description":"Minimum numeric value","uniqueKey":"output_schema.items.[INDEX].minimum.oneOf.0","typeLabel":"number"},{"type":"null","title":"Minimum","description":"Minimum numeric value","uniqueKey":"output_schema.items.[INDEX].minimum.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].minimum","typeLabel":"number | null"},"maximum":{"oneOf":[{"type":"number","title":"Maximum","description":"Maximum numeric value","uniqueKey":"output_schema.items.[INDEX].maximum.oneOf.0","typeLabel":"number"},{"type":"null","title":"Maximum","description":"Maximum numeric value","uniqueKey":"output_schema.items.[INDEX].maximum.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].maximum","typeLabel":"number | null"},"unique":{"oneOf":[{"type":"boolean","title":"Unique","description":"Whether the field should be unique within the target catalog","uniqueKey":"output_schema.items.[INDEX].unique.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Unique","description":"Whether the field should be unique within the target catalog","uniqueKey":"output_schema.items.[INDEX].unique.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].unique","typeLabel":"boolean | null"},"semantic_type":{"oneOf":[{"type":"string","title":"Semantic Type","description":"Optional semantic type hint such as image_url or document_url","uniqueKey":"output_schema.items.[INDEX].semantic_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Semantic Type","description":"Optional semantic type hint such as image_url or document_url","uniqueKey":"output_schema.items.[INDEX].semantic_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_schema.items.[INDEX].semantic_type","typeLabel":"string | null"}},"required":["name","description"],"title":"FieldDefinition","type":"object","uniqueKey":"output_schema.items.[INDEX]","typeLabel":"FieldDefinition · object"},"title":"Output Schema","type":"array","uniqueKey":"output_schema","typeLabel":"FieldDefinition · object[]"},"attribute_sets":{"oneOf":[{"type":"object","title":"Attribute Sets","description":"Canonical registry for requested-attribute jobs. Items carry attribute_set_id; workers expand that id to requested_attributes only at runtime. Per-row requested_attributes payloads are rejected by the public endpoint.","additionalProperties":{"items":{"additionalProperties":true,"type":"object","uniqueKey":"attribute_sets.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"attribute_sets.oneOf.0.additionalProperties","typeLabel":"object[]"},"uniqueKey":"attribute_sets.oneOf.0","typeLabel":"Attribute Sets · object"},{"type":"null","title":"Attribute Sets","description":"Canonical registry for requested-attribute jobs. Items carry attribute_set_id; workers expand that id to requested_attributes only at runtime. Per-row requested_attributes payloads are rejected by the public endpoint.","uniqueKey":"attribute_sets.oneOf.1","typeLabel":"null"}],"uniqueKey":"attribute_sets","typeLabel":"Attribute Sets · object | null"},"source_hint_sets":{"oneOf":[{"type":"object","title":"Source Hint Sets","description":"Canonical registry for repeated per-item source hints. Items carry source_hint_set_id; workers expand that id to source_hints only at runtime. Inline source_hints are rejected by the public endpoint.","additionalProperties":true,"uniqueKey":"source_hint_sets.oneOf.0","typeLabel":"Source Hint Sets · object"},{"type":"null","title":"Source Hint Sets","description":"Canonical registry for repeated per-item source hints. Items carry source_hint_set_id; workers expand that id to source_hints only at runtime. Inline source_hints are rejected by the public endpoint.","uniqueKey":"source_hint_sets.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_hint_sets","typeLabel":"Source Hint Sets · object | null"},"allowed_domains":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"allowed_domains.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Allowed Domains","description":"Restrict web scraping to these domains only","uniqueKey":"allowed_domains.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Allowed Domains","description":"Restrict web scraping to these domains only","uniqueKey":"allowed_domains.oneOf.1","typeLabel":"null"}],"uniqueKey":"allowed_domains","typeLabel":"string[] | null"},"blocked_domains":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"blocked_domains.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Blocked Domains","description":"Domains to exclude from web search and URL fetches","uniqueKey":"blocked_domains.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Blocked Domains","description":"Domains to exclude from web search and URL fetches","uniqueKey":"blocked_domains.oneOf.1","typeLabel":"null"}],"uniqueKey":"blocked_domains","typeLabel":"string[] | null"},"speed":{"default":"deep","description":"Processing speed: 'fast' (quick), 'medium' (balanced), 'deep'/'slow' (thorough default), 'ultra_slow' (maximum reasoning / strongest model path)","title":"Speed","type":"string","uniqueKey":"speed","typeLabel":"string"},"web_search":{"default":true,"description":"If true (default), performs web search to gather content. If false, skips web search and uses input data directly for extraction/validation.","title":"Web Search","type":"boolean","uniqueKey":"web_search","typeLabel":"boolean"},"max_rows":{"oneOf":[{"type":"integer","title":"Max Rows","description":"Limit processing to first N items. All items are stored. Use source_activity_id to process remaining items later.","uniqueKey":"max_rows.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Rows","description":"Limit processing to first N items. All items are stored. Use source_activity_id to process remaining items later.","uniqueKey":"max_rows.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_rows","typeLabel":"integer | null"},"taxonomy":{"oneOf":[{"type":"object","title":"Taxonomy","description":"Taxonomy definition for category prediction (TaxonomyInput format)","additionalProperties":true,"uniqueKey":"taxonomy.oneOf.0","typeLabel":"Taxonomy · object"},{"type":"null","title":"Taxonomy","description":"Taxonomy definition for category prediction (TaxonomyInput format)","uniqueKey":"taxonomy.oneOf.1","typeLabel":"null"}],"uniqueKey":"taxonomy","typeLabel":"Taxonomy · object | null"},"predict_taxonomy":{"default":false,"description":"If true and taxonomy is provided, predict category_id for each item","title":"Predict Taxonomy","type":"boolean","uniqueKey":"predict_taxonomy","typeLabel":"boolean"},"predict_taxonomy_attributes":{"default":true,"description":"If true, also predict taxonomy_attributes after classification. Set false for taxonomy classification only.","title":"Predict Taxonomy Attributes","type":"boolean","uniqueKey":"predict_taxonomy_attributes","typeLabel":"boolean"},"validate_semantics":{"default":false,"description":"If true, AI validates that field values make sense given their descriptions (e.g., email field contains valid email format)","title":"Validate Semantics","type":"boolean","uniqueKey":"validate_semantics","typeLabel":"boolean"},"review_mode":{"default":true,"description":"Run the enrich review agent after enrichment, apply clear output corrections, and attach activity.output.audit decisions. Public enrichment jobs keep this enabled.","title":"Review Mode","type":"boolean","uniqueKey":"review_mode","typeLabel":"boolean"},"audit_decisions_enabled":{"default":true,"description":"When false, the post-enrichment audit still applies clear output corrections but suppresses human-facing audit decisions/suggestions.","title":"Audit Decisions Enabled","type":"boolean","uniqueKey":"audit_decisions_enabled","typeLabel":"boolean"},"include_source_explanations":{"default":true,"description":"Include source_explanation for each enriched field (and taxonomy attribute) explaining how the value was derived from sources. Always enabled.","title":"Include Source Explanations","type":"boolean","uniqueKey":"include_source_explanations","typeLabel":"boolean"},"low_confidence":{"oneOf":[{"type":"object","title":"LowConfidenceConfig","description":"Optional add-on for returning low-confidence candidates at the end of each result","properties":{"enabled":{"default":false,"description":"If true, return low-confidence candidates alongside canonical output","title":"Enabled","type":"boolean","uniqueKey":"low_confidence.oneOf.0.enabled","typeLabel":"boolean"},"scopes":{"description":"Which candidate families to include","items":{"type":"string","uniqueKey":"low_confidence.oneOf.0.scopes.items.[INDEX]","typeLabel":"string"},"title":"Scopes","type":"array","uniqueKey":"low_confidence.oneOf.0.scopes","typeLabel":"string[]"},"placement":{"default":"tail","description":"Payload placement for low-confidence candidates. Only tail is currently supported","title":"Placement","type":"string","uniqueKey":"low_confidence.oneOf.0.placement","typeLabel":"string"},"max_candidates_per_item":{"default":8,"description":"Maximum low-confidence candidates to return per item","maximum":20,"minimum":1,"title":"Max Candidates Per Item","type":"integer","uniqueKey":"low_confidence.oneOf.0.max_candidates_per_item","typeLabel":"integer"}},"uniqueKey":"low_confidence.oneOf.0","typeLabel":"LowConfidenceConfig · object"},{"type":"null","description":"Optional add-on for returning low-confidence candidates at the end of each result","uniqueKey":"low_confidence.oneOf.1","typeLabel":"null"}],"uniqueKey":"low_confidence","typeLabel":"LowConfidenceConfig · object | null"},"catalog_id":{"oneOf":[{"type":"string","title":"Catalog Id","description":"Optional catalog ID to link this enrichment job to","uniqueKey":"catalog_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Catalog Id","description":"Optional catalog ID to link this enrichment job to","uniqueKey":"catalog_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"catalog_id","typeLabel":"string | null"},"template_id":{"oneOf":[{"type":"string","title":"Template Id","description":"Optional organization-scoped enrichment template key. Template extraction fields apply to omitted request fields; template-owned safety controls remain enforced.","uniqueKey":"template_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Template Id","description":"Optional organization-scoped enrichment template key. Template extraction fields apply to omitted request fields; template-owned safety controls remain enforced.","uniqueKey":"template_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"template_id","typeLabel":"string | null"},"async_mode":{"default":false,"description":"If true, returns immediately with job_id instead of waiting for results","title":"Async Mode","type":"boolean","uniqueKey":"async_mode","typeLabel":"boolean"},"staged_status":{"default":"pending","description":"Status for staged changes: 'pending' (default, visible to admin) or 'draft' (vendor draft, not visible to admin until submitted)","title":"Staged Status","type":"string","uniqueKey":"staged_status","typeLabel":"string"},"source_activity_id":{"oneOf":[{"type":"string","title":"Source Activity Id","description":"Activity ID of a previous run. Processes all stored items using saved config.","uniqueKey":"source_activity_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Source Activity Id","description":"Activity ID of a previous run. Processes all stored items using saved config.","uniqueKey":"source_activity_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_activity_id","typeLabel":"string | null"},"source_catalog_id":{"oneOf":[{"type":"string","title":"Source Catalog Id","description":"Catalog UUID to read items FROM as the enrichment input. Independent of catalog_id (the write target).","uniqueKey":"source_catalog_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Source Catalog Id","description":"Catalog UUID to read items FROM as the enrichment input. Independent of catalog_id (the write target).","uniqueKey":"source_catalog_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_catalog_id","typeLabel":"string | null"},"file_name":{"oneOf":[{"type":"string","title":"File Name","description":"Original file name if items were loaded from a file","uniqueKey":"file_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"File Name","description":"Original file name if items were loaded from a file","uniqueKey":"file_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"file_name","typeLabel":"string | null"},"include_service_usage":{"default":false,"description":"If true, include detailed service_usage metrics (costs, tokens, per-item stats) in response","title":"Include Service Usage","type":"boolean","uniqueKey":"include_service_usage","typeLabel":"boolean"},"include_debug_log":{"default":false,"description":"If true, capture full audit log per item (raw markdown, tool history, LLM responses) and upload to storage","title":"Include Debug Log","type":"boolean","uniqueKey":"include_debug_log","typeLabel":"boolean"},"capture_source_artifacts":{"default":false,"description":"If true, preserve durable copies of consulted source material for audit trails. Web pages are captured as screenshots; PDFs are copied as PDF files.","title":"Capture Source Artifacts","type":"boolean","uniqueKey":"capture_source_artifacts","typeLabel":"boolean"},"reextract_from_activity_id":{"oneOf":[{"type":"string","title":"Reextract From Activity Id","description":"Activity ID to re-extract from. Skips web gather, reuses stored web research data. Supports prompt/schema overrides and feedback.","uniqueKey":"reextract_from_activity_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reextract From Activity Id","description":"Activity ID to re-extract from. Skips web gather, reuses stored web research data. Supports prompt/schema overrides and feedback.","uniqueKey":"reextract_from_activity_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"reextract_from_activity_id","typeLabel":"string | null"},"global_feedback":{"oneOf":[{"type":"string","title":"Global Feedback","description":"Feedback to apply to all items during re-extraction (appended to prompt)","uniqueKey":"global_feedback.oneOf.0","typeLabel":"string"},{"type":"null","title":"Global Feedback","description":"Feedback to apply to all items during re-extraction (appended to prompt)","uniqueKey":"global_feedback.oneOf.1","typeLabel":"null"}],"uniqueKey":"global_feedback","typeLabel":"string | null"},"item_feedback":{"oneOf":[{"type":"object","title":"Item Feedback","description":"Per-item feedback keyed by row index as string (e.g. {'0': 'Wrong product', '3': 'Price is in EUR not USD'})","additionalProperties":{"type":"string","uniqueKey":"item_feedback.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"item_feedback.oneOf.0","typeLabel":"Item Feedback · object"},{"type":"null","title":"Item Feedback","description":"Per-item feedback keyed by row index as string (e.g. {'0': 'Wrong product', '3': 'Price is in EUR not USD'})","uniqueKey":"item_feedback.oneOf.1","typeLabel":"null"}],"uniqueKey":"item_feedback","typeLabel":"Item Feedback · object | null"},"source_row_indices":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"source_row_indices.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Source Row Indices","description":"Row indices to re-extract (others carried forward from source). Only used with reextract_from_activity_id.","uniqueKey":"source_row_indices.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Source Row Indices","description":"Row indices to re-extract (others carried forward from source). Only used with reextract_from_activity_id.","uniqueKey":"source_row_indices.oneOf.1","typeLabel":"null"}],"uniqueKey":"source_row_indices","typeLabel":"integer[] | null"},"webhook_url":{"oneOf":[{"type":"string","title":"Webhook Url","description":"HTTPS URL to POST results to when job completes. Must use https://.","uniqueKey":"webhook_url.oneOf.0","typeLabel":"string"},{"type":"null","title":"Webhook Url","description":"HTTPS URL to POST results to when job completes. Must use https://.","uniqueKey":"webhook_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"webhook_url","typeLabel":"string | null"},"knowledge_base_enabled":{"default":false,"description":"If true, use an uploaded knowledge base (OpenAI vector store) for structured generation.","title":"Knowledge Base Enabled","type":"boolean","uniqueKey":"knowledge_base_enabled","typeLabel":"boolean"},"knowledge_base_vector_store_id":{"oneOf":[{"type":"string","title":"Knowledge Base Vector Store Id","description":"OpenAI vector store ID containing uploaded knowledge base files.","uniqueKey":"knowledge_base_vector_store_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Knowledge Base Vector Store Id","description":"OpenAI vector store ID containing uploaded knowledge base files.","uniqueKey":"knowledge_base_vector_store_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_vector_store_id","typeLabel":"string | null"},"knowledge_base_sources":{"oneOf":[{"type":"object","title":"Knowledge Base Sources","description":"Optional SOURCE_X -> source URL mapping used for field-level citations (for example {'SOURCE_1': 'https://.../specs.pdf'}).","additionalProperties":{"type":"string","uniqueKey":"knowledge_base_sources.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"knowledge_base_sources.oneOf.0","typeLabel":"Knowledge Base Sources · object"},{"type":"null","title":"Knowledge Base Sources","description":"Optional SOURCE_X -> source URL mapping used for field-level citations (for example {'SOURCE_1': 'https://.../specs.pdf'}).","uniqueKey":"knowledge_base_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_sources","typeLabel":"Knowledge Base Sources · object | null"},"knowledge_base_metadata":{"oneOf":[{"type":"object","title":"Knowledge Base Metadata","description":"Optional SOURCE_X -> metadata mapping for uploaded knowledge-base files (for example {'SOURCE_1': {'doc_type': 'approved_marketing'}}).","additionalProperties":{"additionalProperties":true,"type":"object","uniqueKey":"knowledge_base_metadata.oneOf.0.additionalProperties","typeLabel":"object"},"uniqueKey":"knowledge_base_metadata.oneOf.0","typeLabel":"Knowledge Base Metadata · object"},{"type":"null","title":"Knowledge Base Metadata","description":"Optional SOURCE_X -> metadata mapping for uploaded knowledge-base files (for example {'SOURCE_1': {'doc_type': 'approved_marketing'}}).","uniqueKey":"knowledge_base_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_metadata","typeLabel":"Knowledge Base Metadata · object | null"},"host_media":{"default":false,"description":"If true, upload all media URLs (images, PDFs) found in enrichment results to hosted storage, replacing with hosted URLs.","title":"Host Media","type":"boolean","uniqueKey":"host_media","typeLabel":"boolean"},"strict_hosted_media":{"default":false,"description":"If true, media/document output fields are cleared unless the URL is successfully copied to hosted storage.","title":"Strict Hosted Media","type":"boolean","uniqueKey":"strict_hosted_media","typeLabel":"boolean"},"image_processing":{"oneOf":[{"type":"object","title":"ImageProcessingConfig","description":"Optional deterministic post-processing for hosted images, such as square white-background catalog normalization.","properties":{"enabled":{"default":false,"description":"Whether to normalize hosted image assets.","title":"Enabled","type":"boolean","uniqueKey":"image_processing.oneOf.0.enabled","typeLabel":"boolean"},"make_square":{"default":true,"description":"Pad image onto a square canvas.","title":"Make Square","type":"boolean","uniqueKey":"image_processing.oneOf.0.make_square","typeLabel":"boolean"},"background_color":{"default":"#FFFFFF","description":"Hex background color used for padding/transparency.","title":"Background Color","type":"string","uniqueKey":"image_processing.oneOf.0.background_color","typeLabel":"string"},"min_side_px":{"default":500,"description":"Minimum output side length.","maximum":8192,"minimum":1,"title":"Min Side Px","type":"integer","uniqueKey":"image_processing.oneOf.0.min_side_px","typeLabel":"integer"},"max_side_px":{"default":1700,"description":"Maximum output side length.","maximum":8192,"minimum":1,"title":"Max Side Px","type":"integer","uniqueKey":"image_processing.oneOf.0.max_side_px","typeLabel":"integer"},"output_format":{"default":"jpeg","description":"Output format: jpeg, png, or webp.","title":"Output Format","type":"string","uniqueKey":"image_processing.oneOf.0.output_format","typeLabel":"string"},"quality":{"default":92,"description":"Output quality for lossy formats.","maximum":100,"minimum":1,"title":"Quality","type":"integer","uniqueKey":"image_processing.oneOf.0.quality","typeLabel":"integer"},"force_reprocess_hosted":{"default":false,"description":"Re-download and normalize already-hosted catalog images.","title":"Force Reprocess Hosted","type":"boolean","uniqueKey":"image_processing.oneOf.0.force_reprocess_hosted","typeLabel":"boolean"},"fields":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"image_processing.oneOf.0.fields.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Fields","description":"Optional field allow-list. If omitted, all detected image fields are processed.","uniqueKey":"image_processing.oneOf.0.fields.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Fields","description":"Optional field allow-list. If omitted, all detected image fields are processed.","uniqueKey":"image_processing.oneOf.0.fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_processing.oneOf.0.fields","typeLabel":"string[] | null"}},"uniqueKey":"image_processing.oneOf.0","typeLabel":"ImageProcessingConfig · object"},{"type":"null","description":"Optional deterministic post-processing for hosted images, such as square white-background catalog normalization.","uniqueKey":"image_processing.oneOf.1","typeLabel":"null"}],"uniqueKey":"image_processing","typeLabel":"ImageProcessingConfig · object | null"}},"title":"EnrichRequest","type":"object","uniqueKey":"","typeLabel":"EnrichRequest · object"},"examples":{"direct":{"title":"direct","summary":"Direct enrichment","value":{"items":[{"part_number":"6205-2RS","name":"Deep Groove Ball Bearing"}],"output_schema":[{"name":"bore_diameter","type":"string","description":"Inner diameter in mm"},{"name":"outer_diameter","type":"string","description":"Outer diameter in mm"}],"speed":"fast"}},"catalog":{"title":"catalog","summary":"Use a catalog configuration","value":{"catalog_id":"cat_123","items":[{"sku":"A1"}],"speed":"deep"}}},"exampleType":"examples"},"multipart/form-data":{"schema":{"type":"object","required":["request_json"],"properties":{"request_json":{"type":"string","description":"JSON-encoded EnrichRequest. For large jobs with items_file, omit inline items from request_json.","isRequired":true,"uniqueKey":"request_json","typeLabel":"string"},"items_file":{"type":"string","format":"binary","description":"Optional JSON upload containing either an array of items or an object with an items array. Use exactly one items_file for large jobs.","uniqueKey":"items_file","typeLabel":"file"},"knowledge_base_files":{"type":"array","items":{"type":"string","format":"binary","uniqueKey":"knowledge_base_files.items.[INDEX]","typeLabel":"file"},"description":"Optional knowledge-base documents used for retrieval/citations during enrichment.","uniqueKey":"knowledge_base_files","typeLabel":"file[]"},"knowledge_base_metadata_json":{"type":"string","description":"Optional JSON metadata for knowledge_base_files, keyed by file name or upload index.","uniqueKey":"knowledge_base_metadata_json","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"request_json":"\u003cstring>","items_file":"\u003cstring>","knowledge_base_files":["\u003cstring>"],"knowledge_base_metadata_json":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"examples"},"responses":{"0993abb8-bfc5-4bc0-8ab3-5ad3715ad109":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"total_items":{"type":"integer","title":"Total Items","description":"Number of items being processed (may be limited by max_rows)","isRequired":true,"uniqueKey":"total_items","typeLabel":"integer"},"job_id":{"oneOf":[{"type":"string","title":"Job Id","description":"Job ID for tracking (always returned). Use this with source_activity_id to trigger full run.","uniqueKey":"job_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Job Id","description":"Job ID for tracking (always returned). Use this with source_activity_id to trigger full run.","uniqueKey":"job_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"job_id","typeLabel":"string | null"},"results":{"items":{"properties":{"original_data":{"additionalProperties":true,"type":"object","title":"Original Data","description":"The original input data","isRequired":true,"uniqueKey":"results.items.[INDEX].original_data","typeLabel":"Original Data · object"},"after_data":{"additionalProperties":true,"type":"object","title":"After Data","description":"Complete enriched record with values, sources, and source_explanations","uniqueKey":"results.items.[INDEX].after_data","typeLabel":"After Data · object"},"all_sources":{"items":{"type":"string","uniqueKey":"results.items.[INDEX].all_sources.items.[INDEX]","typeLabel":"string"},"type":"array","title":"All Sources","description":"All web sources used across all fields","uniqueKey":"results.items.[INDEX].all_sources","typeLabel":"string[]"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Error message if enrichment failed for this item","uniqueKey":"results.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Error message if enrichment failed for this item","uniqueKey":"results.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].error","typeLabel":"string | null"},"category_id":{"oneOf":[{"type":"string","title":"Category Id","description":"Predicted taxonomy node ID","uniqueKey":"results.items.[INDEX].category_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Category Id","description":"Predicted taxonomy node ID","uniqueKey":"results.items.[INDEX].category_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].category_id","typeLabel":"string | null"},"taxonomy_attributes":{"oneOf":[{"type":"object","title":"Taxonomy Attributes","description":"Predicted taxonomy-specific attributes","additionalProperties":true,"uniqueKey":"results.items.[INDEX].taxonomy_attributes.oneOf.0","typeLabel":"Taxonomy Attributes · object"},{"type":"null","title":"Taxonomy Attributes","description":"Predicted taxonomy-specific attributes","uniqueKey":"results.items.[INDEX].taxonomy_attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].taxonomy_attributes","typeLabel":"Taxonomy Attributes · object | null"},"taxonomy_attribute_sources":{"oneOf":[{"type":"object","title":"Taxonomy Attribute Sources","description":"Per-attribute source URLs or input references used to derive taxonomy attribute values","additionalProperties":{"items":{"type":"string","uniqueKey":"results.items.[INDEX].taxonomy_attribute_sources.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"results.items.[INDEX].taxonomy_attribute_sources.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"results.items.[INDEX].taxonomy_attribute_sources.oneOf.0","typeLabel":"Taxonomy Attribute Sources · object"},{"type":"null","title":"Taxonomy Attribute Sources","description":"Per-attribute source URLs or input references used to derive taxonomy attribute values","uniqueKey":"results.items.[INDEX].taxonomy_attribute_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].taxonomy_attribute_sources","typeLabel":"Taxonomy Attribute Sources · object | null"},"taxonomy_attribute_explanations":{"oneOf":[{"type":"object","title":"Taxonomy Attribute Explanations","description":"Per-attribute explanations of how values were derived from sources","additionalProperties":{"type":"string","uniqueKey":"results.items.[INDEX].taxonomy_attribute_explanations.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"results.items.[INDEX].taxonomy_attribute_explanations.oneOf.0","typeLabel":"Taxonomy Attribute Explanations · object"},{"type":"null","title":"Taxonomy Attribute Explanations","description":"Per-attribute explanations of how values were derived from sources","uniqueKey":"results.items.[INDEX].taxonomy_attribute_explanations.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].taxonomy_attribute_explanations","typeLabel":"Taxonomy Attribute Explanations · object | null"},"review_info":{"oneOf":[{"type":"object","title":"Review Info","description":"AI reasoning, flags for human review","additionalProperties":true,"uniqueKey":"results.items.[INDEX].review_info.oneOf.0","typeLabel":"Review Info · object"},{"type":"null","title":"Review Info","description":"AI reasoning, flags for human review","uniqueKey":"results.items.[INDEX].review_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].review_info","typeLabel":"Review Info · object | null"},"low_confidence_candidates":{"oneOf":[{"type":"array","items":{"properties":{"name":{"type":"string","title":"Name","description":"Canonical field or taxonomy attribute name","isRequired":true,"uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].name","typeLabel":"string"},"scope":{"type":"string","title":"Scope","description":"Candidate scope: field, taxonomy_attribute, or category","default":"field","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].scope","typeLabel":"string"},"candidate_value":{"oneOf":[{"type":"string","title":"Candidate Value","description":"Candidate value serialized as exact text or compact JSON","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].candidate_value.oneOf.0","typeLabel":"string"},{"type":"null","title":"Candidate Value","description":"Candidate value serialized as exact text or compact JSON","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].candidate_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].candidate_value","typeLabel":"string | null"},"confidence":{"type":"string","title":"Confidence","description":"Confidence level for this candidate","default":"LOW","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].confidence","typeLabel":"string"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Why this candidate is plausible but not strong enough for canonical output","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Why this candidate is plausible but not strong enough for canonical output","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].reason","typeLabel":"string | null"},"sources":{"items":{"type":"string","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].sources.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Sources","description":"Resolved source URLs or input:* references supporting the candidate","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].sources","typeLabel":"string[]"},"source_explanation":{"oneOf":[{"type":"string","title":"Source Explanation","description":"Optional short explanation of where the candidate came from","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].source_explanation.oneOf.0","typeLabel":"string"},{"type":"null","title":"Source Explanation","description":"Optional short explanation of where the candidate came from","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].source_explanation.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX].source_explanation","typeLabel":"string | null"}},"type":"object","required":["name"],"title":"LowConfidenceCandidate","description":"A plausible but non-canonical candidate that should not be merged into final output.","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0.items.[INDEX]","typeLabel":"LowConfidenceCandidate · object"},"title":"Low Confidence Candidates","description":"Optional tail section of plausible but non-canonical field or taxonomy candidates","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.0","typeLabel":"LowConfidenceCandidate · object[]"},{"type":"null","title":"Low Confidence Candidates","description":"Optional tail section of plausible but non-canonical field or taxonomy candidates","uniqueKey":"results.items.[INDEX].low_confidence_candidates.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].low_confidence_candidates","typeLabel":"LowConfidenceCandidate · object[] | null"},"low_confidence_fields":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"results.items.[INDEX].low_confidence_fields.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Low Confidence Fields","description":"Field or taxonomy attribute names that should be highlighted as low-confidence while remaining in after_data","uniqueKey":"results.items.[INDEX].low_confidence_fields.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Low Confidence Fields","description":"Field or taxonomy attribute names that should be highlighted as low-confidence while remaining in after_data","uniqueKey":"results.items.[INDEX].low_confidence_fields.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].low_confidence_fields","typeLabel":"string[] | null"},"staged_change_id":{"oneOf":[{"type":"string","title":"Staged Change Id","description":"ID of the staged change record (if stage_changes=true)","uniqueKey":"results.items.[INDEX].staged_change_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Staged Change Id","description":"ID of the staged change record (if stage_changes=true)","uniqueKey":"results.items.[INDEX].staged_change_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].staged_change_id","typeLabel":"string | null"}},"type":"object","required":["original_data"],"title":"EnrichItemResult","description":"Result for a single enriched item.","uniqueKey":"results.items.[INDEX]","typeLabel":"EnrichItemResult · object"},"type":"array","title":"Results","description":"Enrichment results for each item (empty if async_mode=true)","uniqueKey":"results","typeLabel":"EnrichItemResult · object[]"},"total_rows":{"oneOf":[{"type":"integer","title":"Total Rows","description":"Total items passed in the request (before max_rows limit)","uniqueKey":"total_rows.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Rows","description":"Total items passed in the request (before max_rows limit)","uniqueKey":"total_rows.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_rows","typeLabel":"integer | null"},"successful":{"type":"integer","title":"Successful","description":"Number of successfully enriched items","default":0,"uniqueKey":"successful","typeLabel":"integer"},"credits_used":{"type":"integer","title":"Credits Used","description":"Number of credits used (1 per successful item)","default":0,"uniqueKey":"credits_used","typeLabel":"integer"},"status":{"type":"string","title":"Status","description":"Job status: 'running' (async) or 'completed' (sync)","default":"completed","uniqueKey":"status","typeLabel":"string"},"service_usage":{"oneOf":[{"type":"object","title":"Service Usage","description":"Detailed API usage metrics (costs, calls, tokens) - only present when job is complete","additionalProperties":true,"uniqueKey":"service_usage.oneOf.0","typeLabel":"Service Usage · object"},{"type":"null","title":"Service Usage","description":"Detailed API usage metrics (costs, calls, tokens) - only present when job is complete","uniqueKey":"service_usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_usage","typeLabel":"Service Usage · object | null"},"pricing_estimates":{"oneOf":[{"type":"object","title":"Pricing Estimates","description":"Estimated pricing breakdown (for example knowledge-base storage + model runtime costs when available)","additionalProperties":true,"uniqueKey":"pricing_estimates.oneOf.0","typeLabel":"Pricing Estimates · object"},{"type":"null","title":"Pricing Estimates","description":"Estimated pricing breakdown (for example knowledge-base storage + model runtime costs when available)","uniqueKey":"pricing_estimates.oneOf.1","typeLabel":"null"}],"uniqueKey":"pricing_estimates","typeLabel":"Pricing Estimates · object | null"},"knowledge_base_enabled":{"oneOf":[{"type":"boolean","title":"Knowledge Base Enabled","description":"Whether this enrichment job used a knowledge base vector store","uniqueKey":"knowledge_base_enabled.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Knowledge Base Enabled","description":"Whether this enrichment job used a knowledge base vector store","uniqueKey":"knowledge_base_enabled.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_enabled","typeLabel":"boolean | null"},"knowledge_base_sources":{"oneOf":[{"type":"object","title":"Knowledge Base Sources","description":"SOURCE_X -> hosted document URL mapping for knowledge-base files used by the activity","additionalProperties":{"type":"string","uniqueKey":"knowledge_base_sources.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"knowledge_base_sources.oneOf.0","typeLabel":"Knowledge Base Sources · object"},{"type":"null","title":"Knowledge Base Sources","description":"SOURCE_X -> hosted document URL mapping for knowledge-base files used by the activity","uniqueKey":"knowledge_base_sources.oneOf.1","typeLabel":"null"}],"uniqueKey":"knowledge_base_sources","typeLabel":"Knowledge Base Sources · object | null"},"page":{"oneOf":[{"type":"integer","title":"Page","description":"Current page number (1-indexed)","uniqueKey":"page.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Page","description":"Current page number (1-indexed)","uniqueKey":"page.oneOf.1","typeLabel":"null"}],"uniqueKey":"page","typeLabel":"integer | null"},"page_size":{"oneOf":[{"type":"integer","title":"Page Size","description":"Number of results per page","uniqueKey":"page_size.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Page Size","description":"Number of results per page","uniqueKey":"page_size.oneOf.1","typeLabel":"null"}],"uniqueKey":"page_size","typeLabel":"integer | null"},"total_pages":{"oneOf":[{"type":"integer","title":"Total Pages","description":"Total number of pages available","uniqueKey":"total_pages.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Total Pages","description":"Total number of pages available","uniqueKey":"total_pages.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_pages","typeLabel":"integer | null"},"completed_items":{"oneOf":[{"type":"integer","title":"Completed Items","description":"Number of items with results available so far (useful while status=running)","uniqueKey":"completed_items.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Completed Items","description":"Number of items with results available so far (useful while status=running)","uniqueKey":"completed_items.oneOf.1","typeLabel":"null"}],"uniqueKey":"completed_items","typeLabel":"integer | null"}},"type":"object","required":["total_items"],"title":"EnrichResponse","description":"Response with enriched data for all items.","uniqueKey":"","typeLabel":"EnrichResponse · object"},"examples":{"Example":{"title":"Example","value":{"total_items":123,"job_id":"\u003cstring>","results":[{"original_data":{},"after_data":{},"all_sources":["\u003cstring>"],"error":"\u003cstring>","category_id":"\u003cstring>","taxonomy_attributes":{},"taxonomy_attribute_sources":{},"taxonomy_attribute_explanations":{},"review_info":{},"low_confidence_candidates":[{"name":"\u003cstring>","scope":"field","candidate_value":"\u003cstring>","confidence":"LOW","reason":"\u003cstring>","sources":["\u003cstring>"],"source_explanation":"\u003cstring>"}],"low_confidence_fields":["\u003cstring>"],"staged_change_id":"\u003cstring>"}],"total_rows":123,"successful":0,"credits_used":0,"status":"completed","service_usage":{},"pricing_estimates":{},"knowledge_base_enabled":true,"knowledge_base_sources":{},"page":123,"page_size":123,"total_pages":123,"completed_items":123}}},"exampleType":"generated"}},"exampleType":"generated"},"7f2a521f-5b69-4650-a8b9-1e6c85263208":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3e6016ba-da73-4126-ba0d-ac658cad7ab4":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Rastro API key or user token","scopes":[]}}},"servers":{"eb333100-f17c-4ba7-94a2-923f785f93a3":{"url":"https://catalogapi.rastro.ai/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Rastro API key or user token","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"rastroai","siteName":"Rastro","title":"Enrich Data - Rastro","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-29T14:03:49.747Z","originalFileLocation":"api-reference/enrich/enrich-data.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Enrich items using web research, with optional taxonomy prediction. Accepts both application/json (plain JSON body) and multipart/form-data (with request_json field, optional items_file, and optional knowledge_base_files). Two modes of operation: 1. Direct mode: Pass items and output_schema directly 2. Full-run mode: Pass source_activity_id from a previous run to process all stored items Example: Direct enrichment json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;items\u0026quot;: [{\u0026quot;name\u0026quot;: \u0026quot;iPhone 15 Pro\u0026quot;}], \u0026quot;output_schema\u0026quot;: [ {\u0026quot;name\u0026quot;: \u0026quot;price\u0026quot;, \u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Current retail price\u0026quot;}, {\u0026quot;name\u0026quot;: \u0026quot;weight\u0026quot;, \u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Product weight\u0026quot;} ] } Example: Dry run (process first 10 items) json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;items\u0026quot;: [... all 1000 items ...], \u0026quot;output_schema\u0026quot;: [...], \u0026quot;max_rows\u0026quot;: 10 } Example: Full run from previous activity json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;source_activity_id\u0026quot;: \u0026quot;abc123-previous-activity-id\u0026quot; } Large jobs: send multipart/form-data with a small request_json and one items_file JSON upload. items_file must be a JSON array, or an object with an items array. Do not send items_storage_url; it is internal. All items are stored in the activity, so full runs can be triggered later using source_activity_id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rastro\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Enrich Data - Rastro\">\u003cmeta data-mint-head property=\"og:description\" content=\"Enrich items using web research, with optional taxonomy prediction. Accepts both application/json (plain JSON body) and multipart/form-data (with request_json field, optional items_file, and optional knowledge_base_files). Two modes of operation: 1. Direct mode: Pass items and output_schema directly 2. Full-run mode: Pass source_activity_id from a previous run to process all stored items Example: Direct enrichment json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;items\u0026quot;: [{\u0026quot;name\u0026quot;: \u0026quot;iPhone 15 Pro\u0026quot;}], \u0026quot;output_schema\u0026quot;: [ {\u0026quot;name\u0026quot;: \u0026quot;price\u0026quot;, \u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Current retail price\u0026quot;}, {\u0026quot;name\u0026quot;: \u0026quot;weight\u0026quot;, \u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Product weight\u0026quot;} ] } Example: Dry run (process first 10 items) json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;items\u0026quot;: [... all 1000 items ...], \u0026quot;output_schema\u0026quot;: [...], \u0026quot;max_rows\u0026quot;: 10 } Example: Full run from previous activity json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;source_activity_id\u0026quot;: \u0026quot;abc123-previous-activity-id\u0026quot; } Large jobs: send multipart/form-data with a small request_json and one items_file JSON upload. items_file must be a JSON array, or an object with an items array. Do not send items_storage_url; it is internal. All items are stored in the activity, so full runs can be triggered later using source_activity_id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rastro\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rastro.ai/api-reference/enrich/enrich-data\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rastroai.mintlify.site/_mintlify/api/og/v2?division=Enrich\u0026amp;title=Enrich+Data\u0026amp;description=Enrich+items+using+web+research%2C+with+optional+taxonomy+prediction.%0A%0AAccepts+both+%60application%2Fjson%60+%28plain+JSON+body%29+and+%60multipart%2Fform-data%60%0A%28with+%60request_\u0026amp;theme=42f5807168aa9c4674bf8223\u0026amp;signature=f90d4ef031f566150521524da6f4870d35d348576ba284ce4fc3ad0dcdba8b0a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Enrich Data - Rastro\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Enrich items using web research, with optional taxonomy prediction. Accepts both application/json (plain JSON body) and multipart/form-data (with request_json field, optional items_file, and optional knowledge_base_files). Two modes of operation: 1. Direct mode: Pass items and output_schema directly 2. Full-run mode: Pass source_activity_id from a previous run to process all stored items Example: Direct enrichment json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;items\u0026quot;: [{\u0026quot;name\u0026quot;: \u0026quot;iPhone 15 Pro\u0026quot;}], \u0026quot;output_schema\u0026quot;: [ {\u0026quot;name\u0026quot;: \u0026quot;price\u0026quot;, \u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Current retail price\u0026quot;}, {\u0026quot;name\u0026quot;: \u0026quot;weight\u0026quot;, \u0026quot;type\u0026quot;: \u0026quot;string\u0026quot;, \u0026quot;description\u0026quot;: \u0026quot;Product weight\u0026quot;} ] } Example: Dry run (process first 10 items) json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;items\u0026quot;: [... all 1000 items ...], \u0026quot;output_schema\u0026quot;: [...], \u0026quot;max_rows\u0026quot;: 10 } Example: Full run from previous activity json { \u0026quot;prompt\u0026quot;: \u0026quot;Find product specifications\u0026quot;, \u0026quot;source_activity_id\u0026quot;: \u0026quot;abc123-previous-activity-id\u0026quot; } Large jobs: send multipart/form-data with a small request_json and one items_file JSON upload. items_file must be a JSON array, or an object with an items array. Do not send items_storage_url; it is internal. All items are stored in the activity, so full runs can be triggered later using source_activity_id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rastroai.mintlify.site/_mintlify/api/og/v2?division=Enrich\u0026amp;title=Enrich+Data\u0026amp;description=Enrich+items+using+web+research%2C+with+optional+taxonomy+prediction.%0A%0AAccepts+both+%60application%2Fjson%60+%28plain+JSON+body%29+and+%60multipart%2Fform-data%60%0A%28with+%60request_\u0026amp;theme=42f5807168aa9c4674bf8223\u0026amp;signature=f90d4ef031f566150521524da6f4870d35d348576ba284ce4fc3ad0dcdba8b0a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rastroai/Wp-zEn22N8lsjJSh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rastro\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F59E0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rastro.ai/api-reference/enrich/enrich-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/enrich/enrich-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rastro.ai/#organization\",\"name\":\"Rastro\",\"url\":\"https://docs.rastro.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rastroai/T_drg5gosujhYwSp/logo/light.svg?fit=max\u0026auto=format\u0026n=T_drg5gosujhYwSp\u0026q=85\u0026s=9703d51a9c54491de0f5d18faee57021\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rastro.ai#website\",\"name\":\"Rastro\",\"url\":\"https://docs.rastro.ai\",\"publisher\":{\"@id\":\"https://docs.rastro.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data#webpage\",\"url\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data\",\"name\":\"Enrich Data\",\"description\":\"Enrich items using web research, with optional taxonomy prediction. Accepts both application/json (plain JSON body) and multipart/form-data (with request_json field, optional items_file, and optional knowledge_base_files). Two modes of operation: 1. Direct mode: Pass items and output_schema directly 2. Full-run mode: Pass source_activity_id from a previous run to process all stored items Example: Direct enrichment json { \\\"prompt\\\": \\\"Find product specifications\\\", \\\"items\\\": [{\\\"name\\\": \\\"iPhone 15 Pro\\\"}], \\\"output_schema\\\": [ {\\\"name\\\": \\\"price\\\", \\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"Current retail price\\\"}, {\\\"name\\\": \\\"weight\\\", \\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"Product weight\\\"} ] } Example: Dry run (process first 10 items) json { \\\"prompt\\\": \\\"Find product specifications\\\", \\\"items\\\": [... all 1000 items ...], \\\"output_schema\\\": [...], \\\"max_rows\\\": 10 } Example: Full run from previous activity json { \\\"prompt\\\": \\\"Find product specifications\\\", \\\"source_activity_id\\\": \\\"abc123-previous-activity-id\\\" } Large jobs: send multipart/form-data with a small request_json and one items_file JSON upload. items_file must be a JSON array, or an object with an items array. Do not send items_storage_url; it is internal. All items are stored in the activity, so full runs can be triggered later using source_activity_id.\",\"dateModified\":\"2026-06-29T14:03:49.747Z\",\"isPartOf\":{\"@id\":\"https://docs.rastro.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Complete API Reference\",\"item\":\"https://docs.rastro.ai/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enrich Data\",\"item\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data#apireference\",\"headline\":\"Enrich Data\",\"name\":\"Enrich Data\",\"description\":\"Enrich items using web research, with optional taxonomy prediction. Accepts both application/json (plain JSON body) and multipart/form-data (with request_json field, optional items_file, and optional knowledge_base_files). Two modes of operation: 1. Direct mode: Pass items and output_schema directly 2. Full-run mode: Pass source_activity_id from a previous run to process all stored items Example: Direct enrichment json { \\\"prompt\\\": \\\"Find product specifications\\\", \\\"items\\\": [{\\\"name\\\": \\\"iPhone 15 Pro\\\"}], \\\"output_schema\\\": [ {\\\"name\\\": \\\"price\\\", \\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"Current retail price\\\"}, {\\\"name\\\": \\\"weight\\\", \\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"Product weight\\\"} ] } Example: Dry run (process first 10 items) json { \\\"prompt\\\": \\\"Find product specifications\\\", \\\"items\\\": [... all 1000 items ...], \\\"output_schema\\\": [...], \\\"max_rows\\\": 10 } Example: Full run from previous activity json { \\\"prompt\\\": \\\"Find product specifications\\\", \\\"source_activity_id\\\": \\\"abc123-previous-activity-id\\\" } Large jobs: send multipart/form-data with a small request_json and one items_file JSON upload. items_file must be a JSON array, or an object with an items array. Do not send items_storage_url; it is internal. All items are stored in the activity, so full runs can be triggered later using source_activity_id.\",\"url\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rastro.ai/api-reference/enrich/enrich-data#webpage\"},\"dateModified\":\"2026-06-29T14:03:49.747Z\",\"publisher\":{\"@id\":\"https://docs.rastro.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rastro.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rastro\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rastro\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/enrich/enrich-data.md","siteName":"Rastro","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Rastro","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"},{"title":"Credits","href":"/credits"}]},{"group":"Enrich API","pages":[{"title":"Enrich Quickstart","href":"/enrich/quickstart"},{"title":"Enrich API Reference","href":"/enrich/reference"},{"title":"Enrich Examples","href":"/enrich/examples"}]},{"group":"Flows","pages":[{"title":"Flows Quickstart","href":"/flows/quickstart"},{"title":"Flows API Reference","href":"/flows/reference"},{"title":"Flows Examples","href":"/flows/examples"}]},{"group":"Catalogs","pages":[{"title":"Catalogs Quickstart","href":"/catalogs/quickstart"},{"title":"Catalogs API Reference","href":"/catalogs/reference"},{"title":"Catalogs Examples","href":"/catalogs/examples"}]},{"group":"Photo Studio","pages":[{"title":"Photo Studio Quickstart","href":"/photo-studio/quickstart"},{"title":"Photo Studio Reference","href":"/photo-studio/reference"}]},{"group":"Complete API Reference","pages":[{"title":"Complete API Reference","href":"/api-reference/overview"},{"group":"Catalogs","pages":[{"title":"List Catalogs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs","href":"/api-reference/catalogs/list-catalogs"},{"title":"Create Catalog Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs","href":"/api-reference/catalogs/create-catalog-public"},{"title":"Get Catalog","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}","href":"/api-reference/catalogs/get-catalog"},{"title":"Update Catalog Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}","href":"/api-reference/catalogs/update-catalog-public"},{"title":"Delete Catalog Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /public/catalogs/{catalog_id}","href":"/api-reference/catalogs/delete-catalog-public"},{"title":"List Catalog Items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/items","href":"/api-reference/catalogs/list-catalog-items"},{"title":"Upsert Item Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/items","href":"/api-reference/catalogs/upsert-item-public"},{"title":"Get Catalog Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/items/{item_id}","href":"/api-reference/catalogs/get-catalog-item"},{"title":"Update Catalog Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}/items/{item_id}","href":"/api-reference/catalogs/update-catalog-item"},{"title":"Delete Catalog Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /public/catalogs/{catalog_id}/items/{item_id}","href":"/api-reference/catalogs/delete-catalog-item"},{"title":"Bulk Insert Items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/items/bulk","href":"/api-reference/catalogs/bulk-insert-items"},{"title":"Get Catalog Quality Prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/quality-prompt","href":"/api-reference/catalogs/get-catalog-quality-prompt"},{"title":"Update Catalog Quality Prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}/quality-prompt","href":"/api-reference/catalogs/update-catalog-quality-prompt"},{"title":"Get Catalog Md","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/catalog-md","href":"/api-reference/catalogs/get-catalog-md"},{"title":"Update Catalog Md","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}/catalog-md","href":"/api-reference/catalogs/update-catalog-md"},{"title":"Create Product Variant Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/products/{product_id}/items","href":"/api-reference/catalogs/create-product-variant-public"},{"title":"Update Product Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}/products/{product_id}","href":"/api-reference/catalogs/update-product-public"},{"title":"Bulk Upsert Product Variants Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/products/{product_id}/items/bulk","href":"/api-reference/catalogs/bulk-upsert-product-variants-public"},{"title":"List Catalog Raw Items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/raw-items","href":"/api-reference/catalogs/list-catalog-raw-items"},{"title":"Get Catalog Raw Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/raw-items/{item_id}","href":"/api-reference/catalogs/get-catalog-raw-item"},{"title":"Duplicate Catalog","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/duplicate","href":"/api-reference/catalogs/duplicate-catalog"}]},{"group":"Catalog Schemas","pages":[{"title":"Add Catalog Field Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/schema/fields","href":"/api-reference/catalog-schemas/add-catalog-field-public"},{"title":"Batch Update Catalog Fields Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}/schema/fields/batch","href":"/api-reference/catalog-schemas/batch-update-catalog-fields-public"},{"title":"Get Catalog Schema","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/schema","href":"/api-reference/catalog-schemas/get-catalog-schema"}]},{"group":"Catalog Taxonomies","pages":[{"title":"Get Catalog Taxonomy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/taxonomy","href":"/api-reference/catalog-taxonomies/get-catalog-taxonomy"},{"title":"Set Catalog Taxonomy Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /public/catalogs/{catalog_id}/taxonomy","href":"/api-reference/catalog-taxonomies/set-catalog-taxonomy-public"},{"title":"Delete Catalog Taxonomy Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /public/catalogs/{catalog_id}/taxonomy","href":"/api-reference/catalog-taxonomies/delete-catalog-taxonomy-public"}]},{"group":"Flows","pages":[{"title":"List Workflows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/workflows","href":"/api-reference/flows/list-workflows"},{"title":"Execute Workflow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/workflows/{workflow_id}/execute","href":"/api-reference/flows/execute-workflow"},{"title":"Get Workflow Run Status","description":"Get status and results of a workflow run.\n\nReturns status info while running, and includes paginated results when completed.\n\n- **workflow_run_id**: The workflow run ID from the execute endpoint\n- **page**: Page number for results (default: 1)\n- **page_size**: Number of records per page (default: 50, max: 1000)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/workflows/runs/{workflow_run_id}","href":"/api-reference/flows/get-workflow-run-status"}]},{"group":"Enrich","pages":[{"title":"Enrich Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/enrich","href":"/api-reference/enrich/enrich-data"},{"title":"Judge Catalog Rows","description":"Judge catalog rows against schema + quality criteria.\n\nWhen catalog_id is provided, automatically loads the schema and the catalog's\nreadiness_config quality_prompt. The optional `prompt` field appends extra instructions.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/judge","href":"/api-reference/enrich/judge-catalog-rows"},{"title":"List Enrichment Jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/enrich/jobs","href":"/api-reference/enrich/list-enrichment-jobs"},{"title":"Cancel Enrichment Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/enrich/{job_id}/cancel","href":"/api-reference/enrich/cancel-enrichment-job"},{"title":"Create Catalog From Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/enrich/{job_id}/to-catalog","href":"/api-reference/enrich/create-catalog-from-run"},{"title":"Get Enrichment Job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/enrich/{job_id}","href":"/api-reference/enrich/get-enrichment-job"},{"title":"Infer Enrichment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/infer-enrichment","href":"/api-reference/enrich/infer-enrichment"},{"title":"Infer Schema From File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/infer-schema","href":"/api-reference/enrich/infer-schema-from-file"},{"title":"List Enrichment Templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/enrichment-templates","href":"/api-reference/enrich/list-enrichment-templates"},{"title":"Get Enrichment Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/enrichment-templates/{template_id}","href":"/api-reference/enrich/get-enrichment-template"}]},{"group":"Catalog Activities","pages":[{"title":"List Catalog Activities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/activities","href":"/api-reference/catalog-activities/list-catalog-activities"},{"title":"Create Activity With Staged Changes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/activities","href":"/api-reference/catalog-activities/create-activity-with-staged-changes"},{"title":"Save Activity As Workflow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/activities/{activity_id}/save-workflow","href":"/api-reference/catalog-activities/save-activity-as-workflow"},{"title":"Create Custom Transform Activity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/activities/custom-transform","href":"/api-reference/catalog-activities/create-custom-transform-activity"}]},{"group":"Activities","pages":[{"title":"Append Activity Staged Changes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/activities/{activity_id}/staged-changes/append","href":"/api-reference/activities/append-activity-staged-changes"},{"title":"Set Activity Pending Review Public","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/activities/{activity_id}/pending-review","href":"/api-reference/activities/set-activity-pending-review-public"}]},{"group":"Catalog Snapshots","pages":[{"title":"List Catalog Snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /public/catalogs/{catalog_id}/snapshots","href":"/api-reference/catalog-snapshots/list-catalog-snapshots"},{"title":"Create Catalog Snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/snapshots","href":"/api-reference/catalog-snapshots/create-catalog-snapshot"},{"title":"Restore Catalog Snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /public/catalogs/{catalog_id}/snapshots/{snapshot_id}/restore","href":"/api-reference/catalog-snapshots/restore-catalog-snapshot"}]}]},{"group":"MCP (Codex / Claude)","pages":[{"title":"MCP Quickstart","href":"/mcp/quickstart"},{"title":"MCP Reference","href":"/mcp/reference"}]},{"group":"Enterprise","pages":[{"title":"Connectors \u0026 Integrations","href":"/integrations"}]}]},"basePath":"","title":"Enrich Data - Rastro","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}