Suggest Mapping
Suggest Mapping
Get auto-suggested column mapping from source to template columns
POST
Suggest Mapping
Suggest Mapping
Request automatic mapping suggestions from your uploaded file’s source columns to the template’s target columns. The backend uses lexical similarity, semantic matching, and import history to rank candidates.Suggestions are best-effort. Review the confidence scores and adjust before confirming. History-restored mappings (
restored_from_history: true) come from a prior successful import and skip value-level scoring.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
UUID of the import sessionExample:
"11111111-1111-1111-1111-111111111111"Body Parameters
Override the detected source columns. When omitted, uses the columns detected during session creation.
Response
Map of
{target_column: suggestion | null}. Each key is a template column key; the value is a suggestion object or null if no match was found.Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: The import session does not exist or belongs to another organizationRelated Endpoints
Confirm Mapping
Persist the chosen mapping
Create Session
Upload a file and start an import

