Skip to main content
POST
Plan columns from a description, streaming its steps

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

table_id
string<uuid>
required

Body

application/json

What to plan: a description, and the column it changes when it changes one.

instruction
string
required

What the person wants, in their own words.

Required string length: 1 - 2000
column_id
string<uuid> | null

The column to change, when the description changes an existing column rather than adding new ones. Every reading then has exactly one column: this one, as it would be after the change.

Response

A stream of Server-Sent Events; the final result frame's data is the plan.

A plan: up to three readings of one description, the most likely first. Nothing is saved.