Skip to main content
POST
Infer Enrichment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string | null

Body

application/json

Request to infer schema, taxonomy, and enrichment fields from sample data.

prompt
string
required

Description of the data (e.g., 'Audio products catalog - headphones and earbuds')

items
Items · object[]
required

Sample items to analyze (5-20 items recommended)

Response

Successful Response

Response with inferred schema, taxonomy, and web enrichment fields.

suggested_schema
Suggested Schema · object
required

JSON Schema for catalog creation with properties dict. Ready to use with catalog creation endpoint.

suggested_taxonomy
Suggested Taxonomy · object
required

Taxonomy in TaxonomyInput format (name, description, hierarchy_levels, nodes). Ready to use with catalog creation endpoint.

web_enrichment_fields
FieldDefinition · object[]
required

Fields that should be enriched via web research. Ready to use as output_schema in /public/enrich endpoint.