Skip to main content
POST
Run a read-only query

Path Parameters

project_id
string
required

The project's id (not its slug). GET /admin/api/projects lists each project's id and slug.

database_id
string
required

Database id or name.

Body

application/json
sql
string
required
Maximum string length: 20000

Response

Successful operation

The response is of type object.