Skip to main content
GET
/
compute
/
v1
/
environments
List environments
curl --request GET \
  --url https://api.case.dev/compute/v1/environments \
  --header 'Authorization: Bearer <token>'
{
  "environments": [
    {
      "id": "env_abc123",
      "name": "Document Review Environment",
      "slug": "doc-review",
      "domain": "doc-review.compute.case.dev",
      "isDefault": true,
      "status": "active",
      "createdAt": "2024-01-15T10:30:00Z",
      "updatedAt": "2024-01-20T14:45:00Z"
    },
    {
      "id": "env_def456",
      "name": "Contract Analysis",
      "slug": "contract-analysis",
      "domain": "contract-analysis.compute.case.dev",
      "isDefault": false,
      "status": "active",
      "createdAt": "2024-01-18T09:15:00Z",
      "updatedAt": "2024-01-18T09:15:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Response

Successfully retrieved environments

environments
object[]