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

Current-month usage (cents/hours + per gpuModel-tier breakdown)

GET
/v1/orgs/{orgId}/usage/current
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/usage/current"
{
  "usageCents": 0,
  "usageHours": 0,
  "breakdown": [
    {
      "key": "string",
      "hours": 0,
      "cents": 0
    }
  ],
  "burnPerHourCents": 0,
  "projectedRunwayHours": 0.1,
  "autoStopFloorCents": 0
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}

Command line

The orl CLI wraps this endpoint:

orl usage current get