Skip to main content
POST
AI schema generation

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

multipart/form-data
file
file
required

Sample data file (CSV, JSON, or XML)

pipeline
string

Pipeline name for the generated configuration

delimiter
string

CSV delimiter (default comma)

header
boolean
default:false

Whether CSV has a header row (default false; pass true for a file with a header row)

allStrings
string
default:false

If "true", generate every CSV field as a string instead of inferring types

Response

AI-generated pipeline configuration. When the AI model declines a CSV file (a provider safety decline), the response is the all-string fallback configuration with top-level aiDeclined: true; it is never saved with a pipeline.

aiDeclined
boolean

Present and true only when the model declined; fields are all-string, named from the header (numbered, with header false, when line 1 looks like data or header is false)