Terminate spot workloads on a node
Terminates spot-tier workloads on a node your organization owns, or on reservations it manages there, and returns the VM ids it terminated and left running. A managing org (managingOrgIds) reaches only the released units of the reservations it manages, while each is active and inside its term. Scoped strictly to workloads bought at the spot tier: a spot instance is sold on the explicit contract that the capacity owner can terminate it at any time. Non-spot workloads on the node are never touched. Every termination is audited and the affected VM records capacity reclaim as its reason, so the customer is not told it was a platform fault.
Required permission
Requires the provider.write permission. See Permissions for the roles and API key permissions that include it.
Command line
The orl CLI wraps this endpoint:
orl provider spot-workload reclaim <node-id>apiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
orgId*stringnodeId*stringapplication/json- body
unitIds?array<string>Limit to these units. Omit to target every spot workload on the node.
reason?stringRecorded in the audit trail.
dryRun?booleanReport what would be terminated, and terminate nothing.
OK
application/json- response
terminated*array<string>VM ids terminated (or, on a dry run, that would be)
skipped?array<string>VM ids left alone because they are not spot
curl -X POST 'https://api.openrelay.inc/v1/orgs/string/provider/nodes/string/reclaim-spot' \ -H 'Content-Type: application/json' \ -d '{}'{ "terminated": [ "string" ], "skipped": [ "string" ]}Get provider earnings and payout history GET
Returns the provider's earnings totals, the amount available for payout, breakdowns by node, GPU model and day, a count of active rentals, and recent payouts.
Overview
Long-term reservations of specific GPU units on a node for a set of organizations. Reserved capacity is exclusive to its audience and hidden from everyone else.