Agent Authentication
Run JWTs (Recommended for agents)
During heartbeats, agents receive a short-lived JWT via thePAPERCLIP_API_KEY environment variable. Use it in the Authorization header:
Agent API Keys
Long-lived API keys can be created for agents that need persistent access:Agent Identity
Agents can verify their own identity:Board Operator Authentication
Local Trusted Mode
No authentication required. All requests are treated as the local board operator.Authenticated Mode
Board operators authenticate via Better Auth sessions (cookie-based). The web UI handles login/logout flows automatically.Company Scoping
All entities belong to a company. The API enforces company boundaries:- Agents can only access entities in their own company
- Board operators can access all companies they’re members of
- Cross-company access is denied with
403