Reference
| Var | Maps to | Default |
|---|
STASO_API_KEY | st.init(api_key=...) | required |
STASO_AGENT_NAME | st.init(agent_name=...) | required |
STASO_BASE_URL | st.init(base_url=...) | https://api.staso.ai |
STASO_ENVIRONMENT | st.init(environment=...) | default |
STASO_WORKSPACE_SLUG | st.init(workspace_slug=...) | default |
STASO_DEBUG | st.init(debug=...) | unset |
| Var | Description | Default |
|---|
STASO_GUARD_ENABLED | Set to false to disable Guard in patched integrations. | true |
STASO_GUARD_FAIL_CLOSED | Set to 1/true to return block on transport failure instead of allow. | unset (fail-open) |
STASO_GUARD_TIMEOUT | HTTP request timeout for st.guard(...) calls, in seconds. | 10.0 |
Take precedence over auto-detection.
| Var | Description |
|---|
STASO_VCS_COMMIT_SHA | 40-char commit SHA. |
STASO_VCS_BRANCH | Branch name. |
STASO_VCS_REPO_URL | Repository URL. |
staso setup writes these into the target settings file. You don't usually set them manually.
| Var | Description |
|---|
STASO_API_KEY | Auth for hook subprocess. |
STASO_AGENT_NAME | Display name on the dashboard. |
STASO_WORKSPACE_SLUG | Target workspace. |
STASO_ENVIRONMENT | Environment tag. |
STASO_BASE_URL | Backend URL override. |