Deployments

Get Deployment

GET/v1/deployments/{slug}

Retrieve full details for a specific deployment, including champion model information, active challengers with their traffic allocation, shadow mode status, and cache version.

Authentication: JWT token. Any authenticated team member can view deployment details.

Path Parameters

slugstringrequired

The deployment slug (e.g. dep_xK8m).

Error Responses

401unauthorized

JWT is missing or expired.

404deployment_not_found

No deployment exists with the provided slug.

Get Deployment
curl https://api.cali-br.com/v1/deployments/dep_xK8m \
  -H #a5d6ff">"Authorization: Bearer eyJhbGciOiJSUzI1NiIs..."
Response200
{
  "id": "dep_xK8m",
  "slug": "dep_xK8m",
  "name": "Retail Unsecured - Production",
  "is_active": true,
  "champion_model": {
    "id": "mod_r4Kw9xPm",
    "name": "retail_unsecured_v3",
    "version": "1.2.0"
  },
  "challengers": [
    {
      "id": "ch_abc123",
      "model_id": "mod_nY5kT2Wq",
      "model_name": "retail_unsecured_v4_candidate",
      "model_version": "1.3.0-beta",
      "traffic_pct": 10,
      "is_active": true,
      "added_at": "2026-03-25T12: 00: 00Z"
    }
  ],
  "shadow_mode": false,
  "cache_version": 3,
  "created_at": "2026-03-20T10: 15: 00Z"
}