gateway

May 7, 2026 ยท View on GitHub

The gateway configuration type allows creating and updating gateways.

Root reference

#SCHEMA# dstack._internal.core.models.gateways.GatewayConfiguration overrides: show_root_heading: false type: required: true

router

=== "SGLang Model Gateway"

#SCHEMA# dstack._internal.core.models.routers.SGLangGatewayRouterConfig
    overrides:
      show_root_heading: false
      type:
        required: true

certificate

Set to null to disable certificates (e.g. for private gateways).

=== "Let's encrypt"

#SCHEMA# dstack._internal.core.models.gateways.LetsEncryptGatewayCertificate
    overrides:
      show_root_heading: false
      type:
        required: true

=== "ACM"

#SCHEMA# dstack._internal.core.models.gateways.ACMGatewayCertificate
    overrides:
      show_root_heading: false
      type:
        required: true