HTTP API
Query with SQL via the HTTP API
Requirements and limitations
Authorizations
X-API-KEYstringRequired
Header parameters
AcceptstringRequired
The format of the response, one of 'application/json' (default), 'application/vnd.spiceai.sql.v1+json', 'text/csv' or 'text/plain'.
Body
objectOptional
Responses
200
SpiceAI SQL v1+json result
Responseone of
objectOptional
stringOptional
stringOptional
objectOptional
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/v1/sqlLast updated
Was this helpful?