Skip to main content
POST
Query an owned site's database

Authorizations

Authorization
string
header
required

A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

Path Parameters

id
string
required

The computer's name, such as agent-atlas, or its id (cmp_…). Every caller may use either, the computer's own runtime token included.

Minimum string length: 1
Example:

"agent-atlas"

Body

application/json
sql
string
required
Minimum string length: 1
params
(string | number | null)[]

Positional SQLite parameters. Integers must be within ±(2^53−1); bind larger integers as strings.

Response

One result per statement, in order.

results
object[]
required