Provider node + token stats
Returns counts of the organization's nodes (total, online and offline, removed nodes excluded) and of its provisioning tokens that can still enroll a node.
Required permission
Requires the provider.read permission. See Permissions for the roles and API key permissions that include it.
Command line
The orl CLI wraps this endpoint:
orl provider stats getapiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
orgId*stringOK
application/json- response
totalNodes*integeronlineNodes*integerofflineNodes*integeractiveTokens*integercurl -X GET 'https://api.openrelay.inc/v1/orgs/string/provider/stats'{ "totalNodes": 0, "onlineNodes": 0, "offlineNodes": 0, "activeTokens": 0}Offboard an interruptible node POST
Moves an interruptible node to draining at once and removes it at the deadline: terminateAt, or now plus noticeSeconds, or now when neither is given (send {}). A deadline only ever moves earlier, so repeating or replaying the call is safe. Use it to pass on a reclaim warning from the market the container runs in, or to take a node out yourself. Persistent nodes are offboarded with `orl provider node update --status removed`.
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.