Skip to main content

Get Application

Retrieve detailed information about a specific application.

Endpoint

GET /environments/{envId}/app/{id}

Authentication

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

Path Parameters

ParameterTypeRequiredDescription
envIdstring (UUID)YesEnvironment ID containing the application
idstring (UUID)YesApplication ID

Response

Success Response (200 OK)

{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "my-web-app",
"envIdRef": "660e8400-e29b-41d4-a716-446655440001",
"companyIdRef": "770e8400-e29b-41d4-a716-446655440002",
"source": {
"image": {
"name": "nginx",
"tag": "latest"
}
},
"resources": {
"cpu": 1000,
"memory": 512,
"storage": 10240
},
"hostname": "my-web-app-abc123",
"port": 80,
"environmentVariables": {
"NODE_ENV": "production",
"API_URL": "https://api.example.com"
},
"isDeleted": false,
"createdBy": "user-123",
"modifiedBy": "user-123",
"version": 1
}

Error Responses

Status CodeDescription
400Bad Request - Invalid UUID format
401Unauthorized - Invalid or missing authentication
403Forbidden - User doesn't have access to this application
404Not Found - Application or environment doesn't exist
500Internal Server Error

Example

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