OpenRelay is in Preview — the API is still evolving and may change without notice.
AI Proxy

AI proxy usage (daily + totals)

GET
/v1/orgs/{orgId}/ai/proxy-usage
AuthorizationBearer <token>

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

In: header

Path Parameters

orgId*string

Query Parameters

days?integer

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/ai/proxy-usage"
{
  "daily": [
    {
      "date": "string",
      "requests": 0,
      "bytes": 0,
      "success": 0,
      "errors": 0
    }
  ],
  "totals": {
    "requests": 0,
    "bytes": 0,
    "success": 0,
    "errors": 0
  }
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}