API reference

Authenticate from your server with a Bearer key.

The browser should never call HarnessRouter directly with the Workspace API key.

Server-only rule

  • Use the key from backend code only.
  • Return product-shaped responses to the browser.
  • Proxy file previews and downloads through authenticated product routes.
  • Do not forward caller-controlled org, member, Workspace, or harness IDs without server-side validation.