Public REST API
The Plutus REST API lets scripts and CI read and change account data with a bearer-token API key.
Every endpoint is the same one the Plutus app uses, under /v1 instead of /api, so the API and
the UI return the same data and enforce the same rules.
The OpenAPI 3 document is public (no key needed) at https://console.plutus-cloud.com/v1/openapi.json.
It describes each endpoint’s path, query parameters and request body. It doesn’t describe response
bodies, which are returned as JSON but aren’t typed in the document.
Create an API key
Section titled “Create an API key”- Open Access in the sidebar and select the API keys tab.
- Click + New key and enter a name (for example, “Nightly export”).
- Choose an access level: Read-only (the default) or Read + write. For a Read + write key you can also choose the key’s role.
- Choose an expiry: 30 days, 90 days, 1 year, 2 years, or never expires.
- Click Create key and copy the key. It starts with
plu_api_and is shown once; Plutus stores only a hash.
Creating or revoking a key needs the member role or higher. A key can’t have a higher role than
the person who creates it. Anyone who can open the page can see the list of keys, with each key’s
creator, access level, status, expiry and last-used time. The creator or an admin can revoke a key.
API keys are separate from MCP keys and from usage ingestion keys. A key from one surface is rejected by the others.
Call the API
Section titled “Call the API”Send the key in an Authorization header. The path is the app’s /api path with /api replaced
by /v1:
curl -H "Authorization: Bearer plu_api_..." \ https://console.plutus-cloud.com/v1/accounts/<account-id>/budgets<account-id> is the numeric ID of your account. The app doesn’t display it. It appears in the
/api/accounts/<id>/... URLs of the app’s own requests in your browser’s developer tools.
Browser sessions are not accepted on /v1, and API keys are not accepted on /api.
What a key can do
Section titled “What a key can do”- Access level. A Read-only key can make
GETrequests and the fewPOSTrequests that only read data. Any other request returns403withThis API key is read-only. A Read + write key can also create, change and delete. - Role. A key acts with the lower of its own role and its creator’s current role. If the creator is demoted, the key is demoted on its next request.
- Creator leaves. A key works only while its creator is an active member of the account. If the
creator is removed from the account or deactivated, the key returns
401on its next request and is revoked. Inviting the person again doesn’t bring the key back. Create keys for long-lived integrations as someone who will stay in the account. - Suspended and demo accounts. Keys on a suspended account or the demo account return
401. - Alert subscription filters.
POST /v1/accounts/<account-id>/alert-subscriptionsaccepts dollar and percent floors and per-value routing for cost spikes alerts. These aren’t available in the app. See Alert channels. - Data health.
GET /v1/accounts/<account-id>/data-healthreturns one entry per connection, includinghealth(working,failing,unknown, orno_datafor a Kubernetes agent whose pushes carry no rows),consecutive_failures(failed syncs since the last success) andlast_successful_sync_at. Each entry also includesis_overdueandrecent_failure_count(failures in the last 5 runs). A Kubernetes agent entry also has acollectorobject whosestateissending_data,connected_no_dataorsilent(no heartbeat within twice the push interval).collectoris null for every other connection. - Not exposed. Managing API keys, SSO and SCIM settings isn’t available through the API. A key can’t create or revoke keys.
- Audit. Creating and revoking keys is recorded in the
account activity log. Changes made with a
key are attributed to
api-key:<key id>.
Limits and errors
Section titled “Limits and errors”| Condition | Response |
|---|---|
| Missing, wrong, revoked, expired or ineligible key | 401 with Invalid or missing API key, the same for every cause |
| Read key used for a write | 403 with This API key is read-only |
| Key’s role is too low for the endpoint | The endpoint’s normal 403 |
| More than 600 requests a minute with one key | 429, with Retry-After and X-RateLimit-* headers |
| An endpoint’s own limit (for example, creating budgets) | 429, applied per key |
| More than 60 failed authentications a minute from one IP | 429 |
Cross-origin browser requests to /v1 are limited to Plutus’s own origin. Server-side scripts and
CI aren’t affected.