Create a new instruction

Creates a new instruction for the specified project

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID.

Body Params
string
required

Instruction text (max 3000 chars).

questions
array of strings

Required for question-matching instructions; omit when isGlobal is true.

questions
boolean

At least one of isGlobal or questions is required.

string
enum
Defaults to SQL

Instruction scope. Case-sensitive — must be one of the uppercase values SQL, ANSWER, CHART.

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json