Skip to main content
POST
Run SQL on a SQL 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[]

The statement's positional parameters (? / ?N).

sql
string

One statement.

statements
object[]

Statements run in one transaction; the answer is {results}, one per statement.

Response

OK

The response is of type object.