Skip to main content
GET
/
compute
/
v1
/
environments
/
{name}
Get compute environment
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"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

name
string
required

The name of the compute environment to retrieve

Response

Environment retrieved successfully

id
string

Unique environment identifier

name
string

Environment name

slug
string

URL-safe environment slug

domain
string

Environment domain URL

isDefault
boolean

Whether this is the default environment

status
string

Environment status (active, inactive, etc.)

createdAt
string<date-time>

Environment creation timestamp

updatedAt
string<date-time>

Environment last update timestamp