Skip to main content

Authentication

Self-serve REST, SDK, and CLI requests use a COLA Cloud API key in the X-API-Key header:
Generate API keys at Dashboard > API Keys in the web app. MCP clients may use the same key as a Bearer token:
OAuth-based assistant connectors use WorkOS-issued Bearer tokens and are scoped per connected app. See Assistant Security and Quotas for the assistant-specific scope and revocation model.

SDKs and CLI

Both SDKs require the API key as a constructor argument:
The CLI reads from the COLACLOUD_API_KEY environment variable or a persistent config file:

Quotas

Usage is metered by detail views (single-record lookups) and list records (items returned by list/search endpoints). Quotas are per-user across all channels (web app, API, SDKs, CLI, and MCP). Upgrade your tier at Dashboard > API Keys > Upgrade.

Quota Headers

Every response includes these headers: When you exceed a quota, the API returns 429 Too Many Requests with an upgrade_url in the response body. Per-minute burst limits return a Retry-After header.

Pagination

List endpoints support page and per_page parameters: Responses include pagination metadata:

Error Responses