API endpoints overviewIntelligence
Map headers
Map headers
Uses AI to intelligently map imported file headers to your template's schema headers. This helps automatically match column names even when they don't exactly match.
How it works:
- Provide your schema headers (expected columns) and file headers (actual columns from import)
- AI analyzes semantic similarity and common variations
- Returns a mapping of schema keys to file keys
Example use case: Your schema expects "First Name" but the file has "FirstName" or "Given Name" - AI maps them correctly.
curl -X POST "https://api.ivandt.com/v1/intelligence/map-headers" \ -H "Content-Type: application/json" \ -d '{ "schemaHeaders": [ { "label": "string", "key": "string" } ], "fileHeaders": [ { "key": "string", "label": "string" } ] }'{
"property1": {},
"property2": {}
}