Analytics
List Analytics Targets
List tracked analytics accounts in the authenticated key scope
GET
Returns tracked analytics targets for the authenticated key scope (workspace or personal).
Behavior
- Returns all targets scoped to the API key.
- Includes last snapshot/refresh status and
free_refresh_available. - This dataset is the source of account-level stats shown in the internal analytics UI.
Use Create Analytics Target to add a
new account to track.
Response
Workspace tied to the API key (
null for personal-scope keys).Analytics targets with status metadata and last snapshot totals. Each row
includes canonical
id and a backward-compatible target_id alias.Error Responses
401/403- authentication failed or key lacks workspace access500- unexpected database/analytics service error
error_code field.