v1

latestOpenAPI 3.0.32026-07-2647121109.1 KB
GatewayService

Create gateway

Creates a new inference gateway. Each gateway must be configured with exactly one authentication type and exactly one routing strategy.

post/v1alpha1/inference/gateways

Request body

idstring

The unique identifier of the gateway, UUID format

namestring required

The human readable name of the gateway. Capped at 38 characters so the derived production FQDN (<name>.<orgId>.gw.cwinference.com) fits within the 64-character X.509 Common Name limit.

zonesstring[]

The zones to make the gateway available in, limits where deployments associated with the gateway may exist, no zones means all may be used.

coreWeaveAuthCoreWeaveAuth

Use CoreWeave IAM authentication, no additional configuration

pathBasedRoutingPathBasedRouting

Path-based routing configuration. The model name is read from the first segment of the URL path (for example, /my-model/v1/chat/completions). URL-encode model names that contain special characters.

Response

OK