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"}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
Response
Successful Response
Response with inferred schema, taxonomy, and web enrichment fields.
JSON Schema for catalog creation with properties dict. Ready to use with catalog creation endpoint.
Taxonomy in TaxonomyInput format (name, description, hierarchy_levels, nodes). Ready to use with catalog creation endpoint.
Fields that should be enriched via web research. Ready to use as output_schema in /public/enrich endpoint.