Cloudflare and Aggregate
Last updated
Short answer: Aggregate reads your Cloudflare billing history and shows what each invoice was made of (subscriptions, usage, renewals and credits), so you can ask any AI assistant or agent what's behind the Cloudflare charge on your card. It only connects a token with Billing Read and API Tokens Read, checks that before connecting and before every sync, and can't move money.
Status: Beta. It's built to Cloudflare's API specification and hasn't been run on a real account, so if a number looks off, tell us at support@aggregate.finance.
What it reads
- Invoices from your billing history, for the last 24 months, in the invoice's currency. Each invoice is split into its items by kind (for example "Subscription", "Usage", "Registrar renewal"), with credits on their own lines.
What it leaves out
- Booking it as an expense. The money already leaves through your card or bank, where it's counted, so these invoices aren't added to your books a second time.
- Which product or domain each item was for. Cloudflare's billing history names that only in a free-text description, which can include your domain names, so Aggregate doesn't read it. Tax isn't reported on its own line.
- Invoices with refunds or other kinds of items Aggregate doesn't read yet. They're left out, and the sync says how many.
Connect
- In the Cloudflare dashboard, open My Profile → API Tokens → Create Token → Create Custom Token.
- Add two permissions and nothing else: Account → Billing → Read and User → API Tokens → Read. Under Account Resources, pick the account whose bill your card pays. (An account-owned token, under Manage Account → Account API Tokens, works too: give it Billing Read and Account API Tokens Read.)
- Create the token and copy it. Copy the Account ID too, from the account's home page.
- In Aggregate, open Connections → + Add a connection → Cloudflare, and paste both.
- Connect your AI to Aggregate and ask about it.
Cloudflare tokens report their own permissions, so Aggregate reads them before connecting and before every sync, and refuses a token with any other permission, even another "Read" one (some of those can change things). If a token gains more permissions later, Aggregate disconnects it and deletes the stored token.
How it's counted
An invoice is the billing items that share an invoice number. Its total is the sum of its items, to the cent: Cloudflare doesn't report a separate total to compare with. Aggregate checks that every amount is a whole number of cents and that an invoice's items are all in one currency; if not, the sync stops and changes nothing.
Disconnect and delete
Disconnect Cloudflare in Aggregate at any time. Disconnecting deletes what it brought in after 30 days, unless you connect it again before then, or right away if you choose Disconnect and delete its data. Aggregate can't delete the token in Cloudflare, so to end access there too, delete it under My Profile → API Tokens. Backups are kept for 25 days, so deleted data is gone from backups within 30 days. To delete all your data, delete your workspace. See Privacy.
Questions people ask
Can my AI change anything in Cloudflare? No. Aggregate only connects a token that can read billing and its own permissions, and only reads. Aggregate can't move money.
What does it cost? Aggregate is free while we're in beta. We may introduce paid plans later, and we'll let you know before anything changes.
Who do I contact? support@aggregate.finance.
Related
Last checked 2026-11-26.
© 2026 Aggregate Finance LLC