Skip to main content
POST

Request body

string
required
A sample of the data you want to extract. Can be raw text, CSV rows, or any structured format. The AI analyzes this to determine appropriate columns and types. Truncated to 5,000 characters.
string
A name for the generated schema. If omitted, the AI generates one based on the data.

Response

Returns the newly created schema object with AI-generated column definitions (same shape as Get schema).
The AI infers column types automatically. For example, it detects price fields as number, URLs as url, and lists of values as tags or enum.