Get started
Authentication
Every call except preflight and the rules sends a key in the Authorization header.
Authorization: Bearer pf_live_…
Kinds of keys
| Key | Sees | Made for |
|---|---|---|
| Workspace key | Every profile of the workspace | Your own backend, your agency's agent |
| Profile key (create) | Only the profiles it lists | A client's backend, the agent that works for one client |
| OAuth token | The workspace the user picks on the consent screen | Apps and AI assistants acting for a user |
Scopes
Every key and token is read or write. A read agent can list, check and report, never publish: over MCP, write tools are not even listed. A call outside its scope answers 403 insufficient_scope.
Idempotency
Every write takes an Idempotency-Key header. The same key within 24 h returns the same result and posts nothing twice. The same key with a different body answers 409 idempotency_conflict.
No key needed: POST /v1/preflight and GET /v1/rules, CORS open, post content never stored.