Enrich
Infer Schema From File
Analyze an uploaded file and infer enrichment configuration.
Upload a CSV or Excel file, and get back:
- suggested_schema: JSON Schema with all fields (existing + suggested enrichments)
- web_enrichment_fields: Fields to use with /public/enrich endpoint
- suggested_taxonomy: Category hierarchy (if generate_taxonomy=true)
This endpoint helps you configure an enrichment pipeline without manual schema definition.
Example usage:
- Upload your data file with a description
- Use the returned web_enrichment_fields as output_schema in /public/enrich
- Use suggested_taxonomy with predict_taxonomy=true in /public/enrich
Supported file formats:
- CSV (.csv)
- Excel (.xlsx, .xls)
post/public/infer-schema
Request
- Base URLhttps://catalogapi.rastro.ai/api
- AuthHTTP bearer
Headers
X-Organization-Idstring nullable
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.