Enrich
Enrich Data
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:
- Direct mode: Pass items and output_schema directly
- Full-run mode: Pass source_activity_id from a previous run to process all stored items
Example: Direct enrichment
{
"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)
{
"prompt": "Find product specifications",
"items": [... all 1000 items ...],
"output_schema": [...],
"max_rows": 10
}
Example: Full run from previous activity
{
"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.
post/public/enrich
Request
- Base URLhttps://catalogapi.rastro.ai/api
- AuthHTTP bearer
Headers
X-Organization-Idstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.