Skip to main content
Returns the value of a specific environment variable.

Authentication

Requires a valid Bearer token.

Path Parameters

id
string
required
Project ID (UUID).
key
string
required
Environment variable name.

Response

key
string
required
Environment variable name.
value
string
required
Environment variable value.
{
  "key": "DATABASE_URL",
  "value": "postgresql://user:pass@host:5432/db"
}

Errors

StatusDescription
401Unauthorized — missing or invalid token
404Not Found — project or environment variable does not exist