Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API ReferenceProvidersProvider

List provider nodes with GPUs and location

Returns the organization's nodes, newest first, with hardware, GPUs, location and status. Removed nodes are left out unless includeRemoved is set. A status filter returns only the nodes in that status, removed included. Each node also carries its disk space while its tunnel is up, and a summary of any live reservation on it.

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 node list
GET
/v1/orgs/{orgId}/provider/nodes

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

orgId*string

Query Parameters

includeRemoved?boolean
status?string

Filter to one status (online|offline|maintenance|draining|removed)

class?string

Filter to one node class

Value in"persistent""interruptible"

Response Body

OK

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.openrelay.inc/v1/orgs/string/provider/nodes'
Example Response
[  {    "id": "string",    "hostname": "string",    "nodeType": "string",    "runtime": "string",    "noticeSeconds": 0,    "terminateAt": "string",    "tdxEnabled": true,    "status": "string",    "cpuModel": "string",    "cpuCores": 0,    "ramGb": 0,    "diskFreeGb": 0,    "diskTotalGb": 0,    "createdAt": "string",    "locationCity": "string",    "locationCountry": "string",    "gpus": [      {        "gpuName": "string",        "vramGb": 0,        "quantity": 0      }    ],    "reservation": {      "reservedUnitCount": 0,      "releasedUnitCount": 0,      "reservations": [        {          "id": "string",          "nodeId": "string",          "reservedUnitIds": [            "string"          ],          "releasedUnitIds": [            "string"          ],          "allowedOrgIds": [            "string"          ],          "managingOrgIds": [            "string"          ],          "startsAt": "string",          "endsAt": "string",          "status": "pending",          "topologyGen": 0,          "contractRef": "string",          "reason": "string",          "createdAt": "string",          "updatedAt": "string",          "terminated": [            "string"          ],          "skipped": [            "string"          ],          "wouldTerminate": [            "string"          ],          "wouldSkip": [            "string"          ]        }      ]    }  }]