API reference

Rateplane Public API

Rateplane exposes two surfaces: - **Public catalog** — searchable, normalized compute/region/pricing data across the customer-visible provider catalog. No authentication required. - **Workspace API** — agent and integration endpoints scoped to a single workspace. Authenticated via a workspace-scoped Bearer token (issued at `/dashboard/api-keys`, prefix `rp_live_`). This spec covers the supported, stable surface. Internal cron, webhook, and admin routes are intentionally undocumented and subject to change without notice.

OpenAPI
3.1.0
Spec version
1.0.0
Endpoints
18
Authenticated
15

account

2 endpoints

delete/api/account/delete

GDPR right-to-erasure — permanently delete the user

Permanently removes the authenticated user's account and all associated workspace data (cascade-deleted by Prisma). A pseudonymised log line is emitted to the structured logs so operators can confirm the deletion happened without retaining the user's email.

API key
200500
post/api/account/export

GDPR Article 20 data portability export

Returns a JSON dump of every record the authenticated user is entitled to under GDPR / DPA 2018: the user row, workspace memberships, owned-workspace data (with credential fields scrubbed), and AuditEvent rows for actions they took. Hard-capped at 5000 rows per collection. The export is itself audit-logged.

API key
200401

accounts

3 endpoints

get/api/accounts

List connected cloud accounts (credentials scrubbed)

API key
200401
post/api/accounts

Connect a new cloud account

Encrypts AWS/Azure/GCP credentials at rest using envelope encryption. Audit-logged as `account.connect`.

API key
200400401403
delete/api/accounts/{id}

Disconnect a cloud account

API key
200401404

agent

2 endpoints

get/api/agent/tools

List agent tool specs (JSON-Schema function-calling shape)

API key
200401
post/api/agent/tools

Invoke an agent tool

API key
200400401

alerts

3 endpoints

get/api/alerts

List price alerts

API key
200401
post/api/alerts

Create a price alert

API key
200400401
delete/api/alerts/{id}

Delete a price alert

API key
200401

api-keys

2 endpoints

get/api/api-keys

List API keys for the workspace (hashes never returned)

API key
200401
post/api/api-keys

Create a new API key (raw key returned once — store it now)

API key
200401403

budgets

3 endpoints

get/api/budgets

List workspace budgets

API key
200401
post/api/budgets

Create a budget

API key
200400401403
delete/api/budgets/{id}

Delete a budget

API key
200401404

catalog

3 endpoints

get/api/compare

Side-by-side compare for an instance across providers

Public
200
get/api/instances

Search the multi-cloud instance catalog

Returns normalized instance + pricing rows across providers. Filterable by provider, region, vCPUs, memory, hourly cost, family category, and service category. When the live catalog DB is unavailable and a static snapshot fallback is enabled, the response includes a `note` indicating the snapshot is hidden from this endpoint to prevent stale data from leaking into procurement workflows.

Public
200500
get/api/regions

List regions for a provider

Public
200

Schema index