Stats
List the sites this key can read
Returns the sites the authenticating key may read — useful for discovering site_id values and token introspection. An all-sites key returns every accessible site (sorted by name); a single-site key returns just its one site (or an empty list if access was removed).
get/sites
Request
- Base URLhttps://statable.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
date_rangestring
Example:7d
A preset (7d/30d/month/realtime) or Nd = last N full days, N in 1–90 (e.g. 7d, 14d) — the same scalar forms POST /query accepts (custom [from,to] pairs are /query-only). When present, each site gains a stats block with basic aggregate metrics for the window. Omit to keep the list lean (no analytics read). These batch stats are NOT per-site-timezone — use POST /query for TZ-exact numbers.
Response
The accessible sites.
Changes
No recorded changes to this operation across all 1 revision of this API.