GET
datatables
User APIService tier
Datatables available to bind a dataset to, or publish into.
URL
- User APIhttps://analytics.mattering.io/api/user/v1/datatables
- Service tierhttps://analytics.mattering.io/api/internal/v1/datatables
Responses
200 data and meta envelope
{
"data": [
{
"id": "...",
"name": "...",
"description": "...",
"fields": [
"..."
]
}
],
"meta": {
"total": 0
}
}
Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).
Errors
| Status | Code |
|---|---|
| 404 | no_workspace |
| 502 | datatable_unavailable |
Example
curl -X GET "https://analytics.mattering.io/api/user/v1/datatables" \ -H "Authorization: Bearer $MATTERING_API_KEY"
curl -X GET "https://analytics.mattering.io/api/internal/v1/datatables" \ -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.list_datatables)