Skip to main content

API keys

The dashboard endpoints under /api/v1/api-keys let you manage your API keys programmatically. These endpoints are intended for the web dashboard and CLI tools — they’re authenticated with a Clerk JWT, not an API key.
Authentication: These endpoints require a Clerk session token (Bearer eyJ...), not a paid_* API key.

Create an API key

Generates a new API key. The key field is shown only once and never returned again — store it immediately.

Request

Body parameters

Response — 201 Created

The key field is only returned in this response. All other endpoints (and listings) only return the prefix. If you lose the key, you must revoke and re-create it.

Limits

  • Maximum 5 active keys per user. Creating a 6th returns 400 Bad Request with the message “Maximum of 5 active API keys per user reached”.

List your API keys

Returns all of your API keys (active and revoked).

Request

Response

Revoke an API key

Immediately revokes a key. The Redis cache is purged within 5 minutes of revocation, after which all requests using the key fail with 401 invalid_api_key.

Request

Response — 200 OK

Returns 404 if the key doesn’t exist or doesn’t belong to the authenticated user.

Get current usage

Returns the current billing period’s usage across all your active keys.

Request

Response

null for requests_limit or ai_chat_limit means unlimited (Enterprise plans).

List available plans

Public endpoint (no auth required) — returns the list of API plans for your pricing page.

Response

All tiers are paid — there is no free or Developer tier. The three plans are £99, £299, and £999 per month respectively. Enterprise plans are provisioned manually (contact info@propaideals.co.uk).