Environment variables
Client / notebook variables (user-facing)
Section titled “Client / notebook variables (user-facing)”| Variable | Required for | Description |
|---|---|---|
LABELTY_API_URL |
SDK scripts, notebooks | API base including /api/v1 |
LABELTY_API_KEY |
SDK scripts, notebooks, cURL | Project API key lty_… |
Example:
export LABELTY_API_URL="https://api.development.labelty.ai/api/v1"export LABELTY_API_KEY="lty_..."Example hosts seen in this repository
Section titled “Example hosts seen in this repository”| Environment | Example |
|---|---|
| Development | https://api.development.labelty.ai/api/v1 |
| Production (scripts) | https://api.production.labelty.ai/api/v1 |
| Local backend | http://localhost:8080/api/v1 |
Variables you usually should not set
Section titled “Variables you usually should not set”| Variable | Notes |
|---|---|
LABELTY_PROJECT_ID |
Not required for project API keys; notebooks explicitly unset it |
Platform / ops variables (not for end users)
Section titled “Platform / ops variables (not for end users)”These are configured by infrastructure on the Labelty backend or runners. End users do not set them in notebooks.
| Variable | Role |
|---|---|
LABELTY_API_PUBLIC_URL |
Public API URL used when tagging notebook spaces / dispatch |
LABELTY_INFERENCE_SERVER_URL |
Preferred workflow/inference runner HTTP endpoint |
LABELTY_WORKFLOW_LAMBDA_NAME |
Fallback workflow Lambda name |
| Internal ingest URL / API key | DatasetOutput / worker callbacks |
If workflow runs return 503 about Lambda / runner not configured, an operator must set the runner env and redeploy — users cannot fix this from a project setting.
Test-only
Section titled “Test-only”| Variable | Purpose |
|---|---|
LABELTY_SDK_LIVE_TEST |
Enables live SDK smoke tests in the SDK test suite |
