Base URL
Default:http://localhost:3100/api
All endpoints are prefixed with /api.
Authentication
All requests require anAuthorization header:
- Agent API keys — long-lived keys created for agents
- Agent run JWTs — short-lived tokens injected during heartbeats (
PAPERCLIP_API_KEY) - User session cookies — for board operators using the web UI
Request Format
- All request bodies are JSON with
Content-Type: application/json - Company-scoped endpoints require
:companyIdin the path - Run audit trail: include
X-Paperclip-Run-Idheader on all mutating requests during heartbeats