Product analytics connector

Cloudflare Web Analytics connector for governed AI agent access

Connect Cloudflare Web Analytics with an account-scoped API token, account ID, and optional site tag.

API

Direct answer

OneQuery supports Cloudflare Web Analytics for governed agent access.

Teams use the Cloudflare Web Analytics connector to give AI agents bounded source API calls for endpoint-specific context while OneQuery keeps credentials centralized, limits access to approved sources, and preserves audit logs for review.

Agent workflow

What this connector enables

Cloudflare Web Analytics becomes an approved OneQuery source instead of a secret copied into an agent prompt, shell session, or model tool. The agent receives a governed access path, and the source credentials stay behind OneQuery.

  • Use bounded source API calls for endpoint-specific context for product analytics context.
  • Keep Cloudflare Web Analytics credentials centralized and out of agent runtimes.
  • Review agent access through OneQuery audit history instead of reconstructing direct service usage.

Setup checklist

Prepare the Cloudflare Web Analytics connection

Use cloudflare web analytics credentials and connect the source through the Dashboard and CLI. Keep credentials scoped to the data the agent is allowed to read.

  1. Copy the Cloudflare Account ID from the dashboard.
  2. Create a Cloudflare API token that can read Analytics GraphQL data and Web Analytics RUM site configuration for the account.
  3. Optionally copy the Web Analytics site tag from the Web Analytics site details; Source API examples use it as the default GraphQL filter.
  4. Use Cloudflare Workers Observability as a separate source when you need Worker telemetry logs. It uses a different API surface even when it shares the same account and token.

FAQ

Cloudflare Web Analytics connector questions

What is the OneQuery Cloudflare Web Analytics connector?

The OneQuery Cloudflare Web Analytics connector makes product analytics context from Cloudflare Web Analytics available to AI agents through bounded source API calls for endpoint-specific context. Connect Cloudflare Web Analytics with an account-scoped API token, account ID, and optional site tag.

How do AI agents access Cloudflare Web Analytics through OneQuery?

Agents call OneQuery instead of receiving raw Cloudflare Web Analytics credentials. OneQuery keeps credentials centralized, applies source boundaries, and records access in audit logs while exposing bounded source API calls for endpoint-specific context.

How do I set up the Cloudflare Web Analytics connector?

Prepare cloudflare web analytics credentials and connect Cloudflare Web Analytics from the OneQuery dashboard or CLI. Start with this setup step: Copy the Cloudflare Account ID from the dashboard.