Skip to content

Environment variables

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:

Terminal window
export LABELTY_API_URL="https://api.development.labelty.ai/api/v1"
export LABELTY_API_KEY="lty_..."
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
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.

Variable Purpose
LABELTY_SDK_LIVE_TEST Enables live SDK smoke tests in the SDK test suite