Skip to main content
POST
/
v0
/
api
/
databases
/
{databaseId}
/
query
Error
A valid request URL is required to generate request examples
{
  "columns": [
    "<string>"
  ],
  "rows": [
    [
      "<unknown>"
    ]
  ],
  "rowCount": 123
}

Authorizations

Authorization
string
header
required

Use your Anything API key as the Basic auth username and leave the password empty. Example credentials: anything_xxx:

Path Parameters

databaseId
string<uuid>
required

Body

application/json
sql
string
required
Minimum string length: 1

Response

Query results

columns
string[]
required
rows
any[][]
required
rowCount
number
required