Enrich
Infer Enrichment
Analyze sample data and infer schema, taxonomy, and web enrichment fields.
Pass sample items and a description, get back:
- suggested_schema: JSON Schema ready for catalog creation
- suggested_taxonomy: Taxonomy ready for catalog creation
- web_enrichment_fields: Fields to use with /public/enrich endpoint
Example request:
{
"prompt": "Audio products catalog - headphones and earbuds",
"items": [
{"name": "Sony WH-1000XM5", "sku": "WH1000XM5-B", "price": "$399.99"},
{"name": "Apple AirPods Pro 2", "sku": "AIRPODS-PRO-2", "price": "$249.00"}
]
}
post/public/infer-enrichment
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.