Documentation Index
Fetch the complete documentation index at: https://docs.testbrick.com/llms.txt
Use this file to discover all available pages before exploring further.
Environments
Environments let you define reusable variables per project. Switch between development, staging, and production with one click — same flow, different config.Creating an environment
- In the API flow toolbar, click the environment dropdown (shows “No Environment” by default)
- Type a name like “Development” and click +
- Click the gear icon next to the environment to add variables
Adding variables
Each environment has key-value pairs:| Key | Value |
|---|---|
baseUrl | https://api.staging.example.com |
apiKey | sk_test_abc123 |
testEmail | test@staging.example.com |
Secret variables
Toggle a variable as secret to mask its value:- Always shows
••••••in the UI - Masked in shared result links
- Variables with
key,token,secret,passwordin the name are flagged automatically
Using variables
Reference environment variables in any field with{{variableName}}:
Switching environments
Select a different environment from the dropdown before running your flow. The same flow runs against different servers — no changes needed. Example:| Environment | baseUrl | apiKey |
|---|---|---|
| Development | http://localhost:3000 | dev_key_123 |
| Staging | https://api.staging.com | stg_key_456 |
| Production | https://api.prod.com | prod_key_789 |