Deployments
Get model deployment 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
cURL
Authorizations
Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.
Query Parameters
'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.
Available options:
raw, parsed, both Previous
Get model deployment download URLGets a presigned URL to download the truss tar file for a deployment.
Next
cURL