Skip to main content
POST
Run one read-only SQL statement

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Query Parameters

customer_id
string

Body

application/json
sql
string
required
Maximum string length: 20000

Response

Columns, rows (capped at 200), truncation flag, or a verbatim database error.

The response is of type object.