Skip to main content

Get Environment

Retrieve detailed information about a specific environment.

Endpoint

GET /environments/{id}

Authentication

Required: Yes (Session or Bearer Token with 2FA)

Path Parameters

ParameterTypeRequiredDescription
idstring (UUID)YesEnvironment ID

Response

Success Response (200 OK)

{
"id": "660e8400-e29b-41d4-a716-446655440001",
"name": "production",
"companyIdRef": "770e8400-e29b-41d4-a716-446655440002",
"resourceQuota": {
"cpu": 10000,
"memory": 16384,
"storage": 102400
},
"resourceUsage": {
"cpu": 3000,
"memory": 4096,
"storage": 20480
},
"isDeleted": false,
"createdBy": "user-123",
"modifiedBy": "user-456",
"version": 2
}

Examples

cURL

curl -X GET "https://api.thevenin.cloud/environments/{envId}" \
-H "Authorization: Bearer tvn_your_api_token_here"