GET
tiles/{public_id}/data
User APIService tier
Evaluate one tile's spec against its dataset.
meta.tile names the tile (id, title, viz_type, dataset) rather than repeating the whole tile payload; full=1 restores spec/options/layout.
URL
- User APIhttps://analytics.mattering.io/api/user/v1/tiles/{public_id}/data
- Service tierhttps://analytics.mattering.io/api/internal/v1/tiles/{public_id}/data
Path parameters
| Name | Type |
|---|---|
public_id | str |
Query parameters
| Name | Default |
|---|---|
full | none |
Responses
200 data and meta envelope
{
"data": "...",
"meta": {
"tile": "..."
}
}
Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).
Example
curl -X GET "https://analytics.mattering.io/api/user/v1/tiles/PUBLIC_ID/data?full=..." \ -H "Authorization: Bearer $MATTERING_API_KEY"
curl -X GET "https://analytics.mattering.io/api/internal/v1/tiles/PUBLIC_ID/data?full=..." \ -H "X-Internal-Secret: $MATTERING_INTERNAL_API_SECRET" \ -H "X-Internal-Org-Id: $ORG_ID" \ -H "X-Internal-User-Email: you@example.com"
Source: AnalyticsCore/api.py (api.tile_data)