Home / Servers / Cloudflare API / get_v4_accounts_by_account_id_k2_streams_by_stream_id_subscr

List subscriptions with consumer lag

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

List subscriptions with consumer lag Lists every subscription on one stream, oldest first. Lag uses committed positions, not reserved… [GET /accounts/{account_id}/k2/streams/{stream_id}/subscriptions]

Name on the gateway: cloudflare_api__get_v4_accounts_by_account_id_k2_streams_by_stream_id_subscr · read-only.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
stream_id requiredstringstream_id parameter

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:

call_tool arguments
{
  "name": "cloudflare_api__get_v4_accounts_by_account_id_k2_streams_by_stream_id_subscr",
  "arguments": {
    "account_id": "…",
    "stream_id": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
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 list subscriptions with consumer lag tool with account_id set to ….

More from Cloudflare API