Documentation Index
Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Every request to the Rigbox API (except public endpoints) must include anAuthorization header with a valid credential.
API keys
The simplest way to authenticate. Create one from the dashboard under Settings → API Keys, or via the Create API Key endpoint.rb_ prefix:
Bearer tokens (JWT)
If you authenticate through the dashboard login flow, you receive a JWT that can be used directly:Dashboard session tokens
The Rigbox frontends (rigbox.dev, clawd.rigbox.dev, sandbox.rigbox.dev) handle authentication automatically. Session tokens are managed by the dashboard - no extra setup needed for first-party UIs.
Choosing an auth method
| Client type | Recommended | Why |
|---|---|---|
| Backend service, CI, agent | API key | Stable, easy to rotate, no expiry |
| First-party dashboard | Session token | User-scoped, automatic refresh |
| Third-party web app | Your backend + API key | Keep keys server-side, proxy requests |
Public endpoints
These endpoints do not require authentication:GET /capacity- check platform availabilityGET /templates- list available workspace templates
Private app authentication (X-Rigbox-Key)
When an app’s visibility is set to private or privileged, requests from outside the workspace must include anX-Rigbox-Key header. This is separate from the Authorization header used for the main API.
Any valid API key (rb_*) will work as the value:
<APP_NAME> with the name of your app (the value you passed to rig app new or the app create endpoint).
Requests made from inside the workspace (e.g. between services on
localhost) do not need this header. It is only required for requests arriving from the public internet.Access control
Rigbox supports fine-grained RBAC for multi-user accounts via the Access Control API. This feature is currently in preview and available to select accounts.Error responses
| Status | Description |
|---|---|
401 Unauthorized | Missing, expired, or invalid credential |
403 Forbidden | Valid auth but insufficient permissions for the requested resource |