OpenAPI 3.1.02026-08-13140162205.6 KB

138b4ef69d2f

Reservations

Reserve GPU units on a node for a set of orgs (platform admin)

Grants exclusive placement rights over specific GPU units for a term. Reserved units disappear from every other org's catalog and cannot be placed on by them. Overlap with an existing reservation is rejected atomically.

post/v1/nodes/{nodeId}/reservations

Path parameters

nodeIdstring required

Request body

allowedOrgIdsstring[] required

The audience. The platform ops org is added automatically so we can validate the node.

contractRefstring
endsAtstring

Omit for open-ended

managingOrgIdsstring[]

Orgs allowed to release, reclaim, and terminate spot workloads on these units on the owner's behalf. Omit unless a second org manages this capacity commercially.

reasonstring
startsAtstring

Defaults to now

unitIdsstring[] required

GPU unit ids to reserve (from the node's inventory). Must be vfio-group units.

Response

Created

allowedOrgIdsstring[] required

The audience: orgs that may place workloads on the reserved units.

contractRefstring
createdAtstring
endsAtstring

Absent = open-ended until cancelled

idstring required
managingOrgIdsstring[]

Orgs that may release these units to the market, reclaim them, and terminate the spot workloads on them, on the node owner's behalf. Being in the audience does not confer this.

nodeIdstring required
reasonstring
releasedUnitIdsstring[]

The subset of reservedUnitIds currently on the spot market (double sell). Still this reservation's capacity, sellable to anyone at tier=spot only, and reclaimable at any time.

reservedUnitIdsstring[] required
skippedstring[]

Reclaim only: VM ids left running because they are not spot.

startsAtstring required
status'pending' | 'active' | 'expired' | 'cancelled' | 'needs-review' required

needs-review means the node's GPU topology changed under the reservation: it grants nothing (and withholds its units from everyone) until an operator re-affirms it.

terminatedstring[]

Reclaim only: spot VM ids terminated to free the reclaimed units.

topologyGeninteger

Node topology generation this reservation was written against

updatedAtstring
wouldSkipstring[]

Reclaim dry run only: VM ids that would be left running.

wouldTerminatestring[]

Reclaim dry run only: the spot VM ids this call would terminate.