Skip to content

Analytics actions

1 actions. Each action calls the same API route with the same scopes on every surface.

Get an analytics report.

Route GET /api/v1/analytics
Tool name calternal_api_analytics_report
Surfaces cli, mcp, webmcp
Scopes data
Effect read only
Encoding request none, response json

query

Field Type Required Description
anchor string no
period string yes
tz string no
vs_from string no
vs_to string no
week_start integer, int32 (0–) no
Terminal window
calternal action run analytics_report --input '{"query":{"period":"<period>"}}' --json