Saltar al contenido principal
GET
The deploy ceilings this workspace is held to

Autorizaciones

Authorization
string
header
requerido

A workspace-scoped Cloud JWT.

Respuesta

OK

The deploy ceilings a workspace is held to. An absent optional field means no ceiling of that kind applies rather than that the value is unknown: a client that could not reach this route knows nothing and shows nothing, while one that read an absent field knows the cap is off.

used
object
requerido

What the workspace holds now of the caps beside it, each named for its cap without the max. Only the deployment count is reported; nothing is counted against the worker ceiling or the model storage limit here.

maxActiveDeployments
integer
requerido

How many non-terminal deployments the workspace may hold. Always present, because a create is capped on every path. A workspace Comfy gave its own number reports that number on every path; without one, the number is higher on a workspace its plan limits do not apply to yet. A deployment holds one slot however many copies an update leaves it running, so an update of a deployment whose serving copy runs is admitted at the limit, and one of a stopped deployment counts as a start of it. Stopping a deployment frees a slot, as does deleting one -- a stopped deployment keeps its endpoint and its staged models but holds no slot.

Ejemplo:

3

maxModelStorageGb
integer
requerido

The largest release a deployment that gets its own network volume accepts, in gigabytes. A create, start, release update or rollback of such a deployment compares a release's own measured model total (plus a 5% margin) against it and refuses before anything is provisioned when it is over. A deployment that runs where its models are not copied onto a volume of its own is judged against a higher limit instead, which this field does not report, so a release over this number may still deploy. It is not the size of a deployment's storage: each volume is sized when the deployment is created to its release's measured models plus that margin and 1 GB, never under the storage provider's 10 GB minimum and never over this number. A release with no measured total, or with some models unmeasured, is not refused here and gets a smaller fixed-size volume, or its measured total plus that margin and 1 GB where that is larger, since a measured total is a floor, not a guarantee.

Ejemplo:

3999

maxConcurrentWorkers
integer

How many workers a single deployment may commit at once (its computeConfig.max), independent of what the workspace's other deployments commit. A workspace Comfy gave its own number reports that number on every path, and may then go past the 20 workers every other deployment is bounded by. Without one, absent on a workspace its plan limits do not apply to yet, where a create and a start apply no worker cap at all.

Ejemplo:

10