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

Autorizaciones

Authorization
string
header
requerido

A workspace-scoped Cloud JWT. A missing or invalid token is 401 UNAUTHORIZED in the Error body.

Respuesta

OK

The build 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.

maxRunningBuilds
integer
requerido

How many of the workspace's releases may be building at once, which is what a cut is refused on -- not how many builds it may keep, which is maxBuilds. Always present, because a cut is capped on every path. Where billing resolves the workspace, with or without credit, it is the configured number, the same on every plan. Where billing does not resolve it, a fixed default applies instead, which a per-workspace build cap can only lower.

Ejemplo:

50

used
object
requerido

How much of each cap the workspace holds right now, counted by the same query the create and the cut compare to the cap, so once used.totalReleases reaches maxTotalReleases a cut that would make a new build version is refused. An identical re-cut of a definition that already has a build version is answered with that version before any cap is checked, so it is accepted even at the cap. Always present, every count included, even where the cap beside it is absent: an absent cap means no ceiling, not that nothing is counted.

maxBuilds
integer

How many builds the workspace may keep at once. Deleting one frees a slot. The same number on every plan: a build is a definition and costs nothing to keep, so plans differ on releases, not builds. Absent when billing could not resolve the workspace and no build cap has been turned on for it, which is when a create applies no count cap at all.

Ejemplo:

50

maxTotalReleases
integer

How many build versions the workspace may hold, counting every status. A build version costs to keep whether or not anything deploys it, which is what this bounds; maxRunningBuilds bounds concurrent building instead. The number is the workspace's plan's own where the plan has one (Standard and Creator 5, Pro 10, Team 40), and the deployment's default for any other plan. Comfy can also save a number from 1 to 100 for one workspace, which replaces the one above from its next request; a saved number outside that range is ignored. A workspace Comfy has set a number for in code gets that number or the one above, whichever is higher. Enforced wherever it is present, whether or not billing resolves the workspace. Deleted build versions do not count, so a workspace that reaches this number makes room by deleting one, or by moving to a plan with a higher one. Absent means no ceiling, the same way an absent maxBuilds does, which is what a deployment that has set the cap to zero reports. That zero turns the cap off for every workspace, including one with its own number.

Ejemplo:

5