Managing Environment Variables
Configure environment variables through the Blink web UI:- Navigate to your agent’s settings
- Go to Settings → Environment Variables
- Add, edit, or delete variables as needed
- Key - The variable name (e.g.,
ANTHROPIC_API_KEY) - Value - The variable value
- Secret - Whether to mask the value
Secret Variables
Mark variables as “secret” for sensitive values like API keys and tokens:- Values are masked as “Hidden” in the UI
- Secret values are never returned in API responses
System-Reserved Variables
These variables are automatically set by the server and cannot be overridden:| Variable | Description |
|---|---|
ENTRYPOINT | Path to agent entry point (e.g., ./index.ts) |
PORT | Container external API port (3000) |
BLINK_REQUEST_URL | Base URL for agent to reach Blink API |
BLINK_REQUEST_ID | Request ID from deployment target |
BLINK_DEPLOYMENT_TOKEN | Token for OTLP authentication |
BLINK_USE_STRUCTURED_LOGGING | Enables structured logging (1) |
INTERNAL_BLINK_API_SERVER_URL | Internal API server URL |
INTERNAL_BLINK_API_SERVER_LISTEN_PORT | Internal API port (3010) |