Skip to main content
PUT
Update generated query

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

query_id
string
required

Body

application/json
query
string
required

The updated SQL query text.

Response

Query updated successfully.

query
string
required

The interpreted SQL query generated from the prompt.

id
string<uuid> | null

A unique ID for the generated query.

data
DataResponse · object | null

The data returned as part of the query response, if applicable.

error
string | null

Error message if any issue occurred during query generation.