API keys
Send the key as a bearer token. A key is bound to one workspace and carries scopes.
Keys are shown once at creation and stored as a digest. Revoke a key with
DELETE /v1/workspaces/{workspaceId}/api-keys/{keyId}; revocation is immediate.
Sessions (people)
Workspace owners sign in withPOST /v1/auth/sessions and receive an HttpOnly cookie. State-changing session requests must carry an Origin header equal to the web origin. Sessions are how owners create API keys:
Request ids
SendX-Request-Id to correlate a call with your own logs; it is echoed back on every response and included in error envelopes.