Cloudera AI Gateway and Inference API v1alpha1 to v1 migration
Migrating from Cloudera AI Gateway and Inference API v1alpha1 to API v1 transitions model deployment management to a standardized REST architecture before the v1alpha1 sunset date.
API v1 is generally available as of October 1, 2026, and replaces API v1alpha1 as the primary management interface for Cloudera AI Gateway and Inference. API v1alpha1 is officially deprecated and will be removed at a later release.
Impact on existing deployments and endpoints
Migrating your management API calls does not disrupt active Cloudera AI Gateway and Inference operations:
Model deployments: Existing model deployments remain running and require no redeployment. Endpoints created using API v1alpha1 appear directly as deployments in API v1.
Inference endpoints and payloads: Model inference URLs, request payloads, and OpenAI or Open Inference Protocol client configurations remain identical.
Authentication and access control: Authentication continues to use HTTP
Bearer tokens (Authorization: Bearer <token>), and existing role-based user
permissions carry over without modification.
Key architectural changes in API v1
API v1 introduces cleaner REST conventions, structured resource definitions, and standardized naming standards.
Resource identifier pathing: Every deployment is identified by a unique
id generated upon creation. The deployment id is passed in
the URL path for all deployment-scoped routes (for example,
/api/v1/deployments/{id}), removing the need to specify namespace and name in
request bodies.
Standardized REST method: API v1 uses standard HTTP
methods—GET for reading, POST for creation,
PATCH for updates, and DELETE for removal. Operational
actions use custom method suffixes, such as POST
/api/v1/deployments/{id}:start.
Partial updates with update masks: Resource updates use the
PATCH method with an updateMask parameter. The
updateMask explicitly names only the JSON fields being modified, leaving all
unspecified fields unchanged.
Casing and data types: All JSON keys use lowerCamelCase (for
example, minReplicas) in request bodies, response bodies, and
updateMask paths. Numeric counts are formatted as numbers, timestamps use RFC
3339 strings, and durations are specified as seconds strings (for example,
"120s").
Typed enum values: Enum values include their type prefix in uppercase, for
example, Running becomes DEPLOYMENT_STATE_RUNNING and
TEXT_GENERATION becomes MODEL_TASK_TEXT_GENERATION.
Write-only credentials: Secrets, API keys, and access tokens are write-only and are omitted from all API responses to prevent security exposure
