Retab environments are logical namespaces inside your organization that isolate data, runs, webhooks, secrets, and analytics. Every organization has two built-in environments:Documentation Index
Fetch the complete documentation index at: https://docs.retab.com/llms.txt
Use this file to discover all available pages before exploring further.
| Slug | Intended use |
|---|---|
test | Local development, customer staging, CI, integration tests |
production | Customer production systems |
The API key selects the environment
The API key — not a header, not a base URL, not a flag — decides which environment a request runs in.| Prefix | Environment | Notes |
|---|---|---|
rt_test_ | test | Issued from the dashboard under Test keys. |
rt_live_ | production | Issued from the dashboard under Live keys. |
sk_retab_ | production | Legacy keys, still valid; resolve to production. |
rt_test_... key cannot reach production resources even if it
guesses a production id.
Python
RETAB_BASE_URL is not the environment selector
RETAB_BASE_URL selects the Retab deployment (production API, a local
dev server, a private region). It does not select your customer
environment. Do not point RETAB_BASE_URL at a different host to switch
between test and production — set RETAB_API_KEY instead.
What is isolated per environment
| Resource | Isolated per environment |
|---|---|
| API keys | Yes |
| Workflows, blocks, edges, snapshots | Yes |
| Workflow runs, steps, artifacts | Yes |
| Workflow tests and experiments | Yes |
| Files and file-derived artifacts | Yes |
| Jobs | Yes |
| Webhook endpoints and signing secrets | Yes |
| Webhook delivery attempts and retries | Yes |
| Workflow secrets / integration creds | Yes |
| Usage records and analytics | Yes |
| Organization membership and user profile | No (organization-global) |
| Billing subscription | No (organization-global) |
404 Not Found — resource existence is
never leaked across environments.
Where to go next
API keys
Create test and live keys in the dashboard and use them from the SDKs.
CLI
Manage local environment profiles, switch defaults, and run safe
production commands.
Webhooks and secrets
Environment-scoped webhook signing secrets and integration credentials.
Promotion
Promote a workflow from test to production as a draft for review.