Home / Servers / Cloudflare API / art_analytics_query_timeseries
Query analytics timeseries
An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.
Query analytics timeseries Returns time-bucketed analytics data for a dataset. Includes time slots, each containing the… [POST /accounts/{account_id}/analytics/query/{dataset}/timeseries]
Name on the gateway: cloudflare_api__art_analytics_query_timeseries · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | account_id parameter |
dataset required | string | dataset parameter |
filters required | array | Filters to apply before aggregating results. |
from required | string | The start of the query time range (inclusive).… |
groupBy required | array | Specifies the column names to group results by.… |
stats required | array | Specifies the stat names to include in results.… |
to required | string | Specifies the end of the query time range… |
resolution required | string | Time bucket size for grouping results. Controls… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "cloudflare_api__art_analytics_query_timeseries",
"arguments": {
"account_id": "…",
"dataset": "…",
"filters": [],
"from": "…",
"groupBy": [],
"stats": [],
"to": "…",
"resolution": "…"
}
}Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the query analytics timeseries tool with account_id set to ….