Skip to content

MongoDB Atlas

  • Atlas invoice line items, including the pending invoice for the current billing cycle
  • Also emits a mongodb.usage.quantity usage metric per Atlas SKU/cluster from the same invoice line items — see Usage Explorer

Method: Programmatic API Key (Public + Private)

  1. Go to cloud.mongodb.com and open Access Manager > API Keys.
  2. Click Create API Key, and assign it the Organization Billing Viewer role.
  3. Copy the Public Key and Private Key. The private key is shown only once — if you lose it, you’ll need to create a new key.
  4. Under the key’s IP access list, add your current IP address. Atlas rejects API requests from IPs not on this list.
  5. In Plutus, enter the Public Key, Private Key, and your Organization ID (found on the Organization Settings page).

Each sync also reads the pending (current-cycle) invoice, so charges appear before the invoice closes. Pending items that already appear on a closed invoice are dropped, so nothing is counted twice. If reading the pending invoice fails, the sync still completes with the closed invoices.

A sync that finds no charges shows “Connected, no charges found yet” instead of an error.

The pending-invoice endpoint hasn’t been verified against a live Atlas organization.