Retrieve a specific compute environment by name. Returns environment configuration including status, domain, and metadata for your serverless compute infrastructure.
curl --request GET \
--url https://api.case.dev/compute/v1/environments/{name} \
--header 'Authorization: Bearer <token>'{
"id": "env_12345",
"name": "production-legal-docs",
"slug": "production-legal-docs",
"domain": "https://prod-legal.case.dev",
"isDefault": true,
"status": "active",
"createdAt": "2024-01-15T09:30:00Z",
"updatedAt": "2024-01-15T10:45:00Z"
}API key starting with sk_case_
The name of the compute environment to retrieve
Environment retrieved successfully
Unique environment identifier
Environment name
URL-safe environment slug
Environment domain URL
Whether this is the default environment
Environment status (active, inactive, etc.)
Environment creation timestamp
Environment last update timestamp
Was this page helpful?
curl --request GET \
--url https://api.case.dev/compute/v1/environments/{name} \
--header 'Authorization: Bearer <token>'{
"id": "env_12345",
"name": "production-legal-docs",
"slug": "production-legal-docs",
"domain": "https://prod-legal.case.dev",
"isDefault": true,
"status": "active",
"createdAt": "2024-01-15T09:30:00Z",
"updatedAt": "2024-01-15T10:45:00Z"
}