v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets a deployment's config

Returns the deployment's config. output_format query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default).

get/v1/models/{model_id}/deployments/{deployment_id}/config

Query parameters

output_format'raw' | 'parsed' | 'both'

'raw': verbatim config.yaml with comments (not available for deployments created before 2026-04-30). 'parsed': dict with server-side defaults applied (always available). 'both': both fields populated.

Response

configobject nullable

The parsed config of the deployment.

raw_configstring nullable

The original config.yaml text — preserves comments, ordering, formatting.