Skip to main content

List Variable Sets

List all variable sets in an environment.

Endpoint

GET /{envId}/variableSet

Path Parameters

ParameterTypeDescription
envIdstringEnvironment ID

Example

curl -X GET "https://api.thevenin.cloud/api/v1/{envId}/variableSet" \
-H "Authorization: Bearer $API_TOKEN"

Response (200 OK)

[
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "database-config",
"envIdRef": "{envId}",
"variables": {
"DATABASE_HOST": "postgres.example.com",
"DATABASE_PORT": "5432"
},
"version": "v1"
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "redis-config",
"envIdRef": "{envId}",
"variables": {
"REDIS_HOST": "redis.example.com",
"REDIS_PORT": "6379"
},
"version": "v1"
}
]