A environment is an isolated tenancy scope under your Nexio org. Every org has exactly oneDocumentation Index
Fetch the complete documentation index at: https://docs.usenexio.com/llms.txt
Use this file to discover all available pages before exploring further.
live environment (your production instance) and can create up to five non-prod environments for development, staging, integration testing, or anything else you need isolated from live traffic.
Each environment carries its own:
- API keys prefixed
nx_<slug>_* - Webhook endpoints with independent signing secrets
- Runs history scoped to that environment
- Usage attribution rolled up to your org for billing
When to use an environment
- You’re building or refactoring an integration and don’t want test traffic to mix with production data.
- You want a dedicated environment for replay, canary, or load-testing.
- You need different webhook delivery targets per environment (different URLs, different signing secrets).
Creating an environment
From the portal (recommended)
- Open the Environment dropdown at the top of
/runs,/metrics,/usage,/webhooks, or/api-keys. - Select + Create environment.
- Choose a slug (lowercase letters, digits, underscores; 1–16 characters). Reserved slugs:
live,test,internal,admin,api,nexio,draft,all(note:staging,prod,productionare now claimable). - Save. The portal creates the environment and prompts you to create an API key bound to it.
From the API
201 Created):
pinned_engine_version is omitted when no pin is set. After Phase 2 ships, you’ll see it as "pinned_engine_version": "1.x" or similar.)
Sending a run to an environment
After you have an API key for the environment, send runs the same way you do today — the auth path routes by the key.nx_dev_* keys appear only when you select dev in the portal’s Environment filter, never under live.
Filtering portal pages by environment
The Environment dropdown at the top of scoped pages writes a?environment=<slug> URL query. The non-live options are tinted with a warning color so you can see at a glance when you’re not in production.
Live— your production instance. Default for new sessions.<your-environment-slugs>— the non-prod environments you’ve created.All— cross-environment rollup view (read-only; mutation actions disabled).
Webhooks per environment
Each environment has its own webhook configuration. A run in yourdev environment delivers to the dev webhook URL with the dev signing secret; it never touches your live webhook target.
Set up webhook endpoints from the portal /webhooks page after selecting the target environment from the dropdown.
API key types
| Prefix | Purpose |
|---|---|
nx_live_* | Production keys. Route to your live environment. |
nx_<slug>_* | Non-prod keys. Route to the named environment. |
nx_test_* (legacy) | Grandfathered to the test environment. Continue to work; new keys should use nx_*. |
Limits
- 5 non-live environments per org by default (soft cap; contact support to raise).
- Slug regex
^[a-z0-9_]{1,16}$. Slugs are permanent — to rename, create a new environment and migrate your keys. - One live environment per org. Created automatically; cannot be deleted via the API.