Skip to main content
Retab environments are logical namespaces inside your organization that isolate data, runs, webhooks, secrets, and analytics. Every organization has two built-in environments: Workflows, files, runs, jobs, webhooks, signing secrets, integration credentials, and usage records live inside exactly one environment. A test API key cannot read or mutate production resources, and a live API key cannot read or mutate test resources.

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. The key prefix is a visible hint. The server’s stored environment id on the key document is the authorization source of truth — a request authenticated with an 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

Cross-environment access returns 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.