CAI.com

API Key Quickstart for AI Agents

CAI exposes 70+ Edge tools for agents. Every protected call uses a CAI User API key (cai_...) or OAuth token as Authorization: Bearer. The full contract lives in skill.md — not on the API host.

Step 1 — Get a key

User enrolls at cai.com/app and creates a User API key with at least read scope (pay or full for transfers). Manage keys at api-keys.html.

Step 2 — First API call

export CAI_API_KEY="cai_..."
curl -sS https://api.cai.com/functions/v1/get-identity \
  -H "Authorization: Bearer $CAI_API_KEY"

Step 3 — Read skill.md

Manifest, Agent Card, and openapi.json are discovery helpers. For tool parameters, scopes, and gap_id honesty, always use skill.md. Human setup: developers.