Statements (query/v1)
Execute SQL Statement
Changed onExecutes an arbitrary SQL query against the engine. If the query resolves in under 10 seconds and returns less than 4 MiB, the response will be an inline HTTP 200 OK. Otherwise, a 202 Accepted response redirects the client to retrieve results from a separate streamed data location. Rows are returned as JSON strings by default; set options.result_format to ARROW_STREAM to receive a base64-encoded Arrow IPC stream with native column types instead.
post/query/v1
Request
- Base URLhttps://sql.<region>.<provider>.confluent.cloud
- URLhttps://sql.<region>.<provider>.confluent.cloud/query/v1
- AuthHTTP basic
Request body
Response
Successful synchronous response containing fully inlined metadata and data results.
Changes
- info
endpoint added
- info