stream/generate_sql

Streams the SQL generation process with real-time state updates

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

The project ID to scope the operation to

string
required

The natural language question to convert to SQL

string

Optional thread ID to maintain conversation context

string

Optional language override for AI responses

boolean
Defaults to false

Whether to return the SQL dialect in the response. If true, the SQL returned will be in the dialect of the database.

boolean
Defaults to false

Whether to return both Wren SQL and dialect SQL in the response. If true, response includes both 'sql' (Wren SQL) and 'dialectSql' (database-specific SQL) fields.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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