Records

Aggregate records with a chart spec

POST
/records/charts/data

Run a chart and return its aggregated data as columns plus rows: pass record_chart_id for a saved chart or an inline spec to try one out. The database groups and aggregates; rows never contain single records.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/records/charts/data" \  -H "Content-Type: application/json" \  -d '{}'
{}