Skip to main content
POST
Run SQL on an analytics storage instance

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Path Parameters

id
string
required

A storage instance id: si_ + 12 base32 characters.

Body

application/json
params
any[]

Positional parameters (? / $1).

sql
string

One statement.

statements
object[]

Run in one transaction; the answer is {results}.

Response

OK

The response is of type object.