Get Variable Set
Retrieve a specific variable set by ID.
Endpoint
GET /{envId}/variableSet/{id}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
envId | string | Environment ID |
id | string | Variable set ID |
Example
curl -X GET "https://api.thevenin.cloud/api/v1/{envId}/variableSet/{id}" \
-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"
}