Skip to main content
POST
/
analytics
cURL
curl --request POST \
  --url https://api.joinslash.com/analytics \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "query": "<string>"
}
'
{
  "columns": [
    "<string>"
  ],
  "rows": [
    {}
  ],
  "rowCount": 123,
  "error": "<string>"
}

Authorizations

X-API-Key
string
header
required

Authentication from public API requests

Body

application/json
query
string
required

SQL query to execute against the sandbox. Supports SELECT on exposed views, SHOW TABLES, and DESCRIBE

.

Response

OK

columns
string[]
required

Ordered list of column names in the result set.

rows
object[]
required

Array of row objects keyed by column name.

rowCount
integer
required

Total number of rows returned.

error
string

SQL error message when the query fails.