Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

A scoped AgentEye API key. Mint one in the dashboard under Settings → API keys, or with POST /v1/keys. Each endpoint names the permission it requires; a key without it gets 403 and a required_permission field naming what was missing.

Body

application/json
params
any

Positional or named parameter values. For positional ($1..$N) pass an array; for named pass an object. Only string/number/bool/null/array JSON leaves are bound — anything else is sent as text.

query_id
string<uuid> | null

Saved query id — sql_text is fetched and substituted in.

sql
string | null

Free-form SQL — wins over query_id if both are present.

Response

columns, rows, truncated and elapsed_ms.