CyberRXN Docs
APIAPI reference

Workspace spending policies

GET /v1/limits

GET /v1/limits

API overview · OpenAPI

Signed-in session with limits:read or usage:read. All matching policies apply cumulatively.

Authorization

This operation requires a bearer credential. The description defines additional role, scope or first-party-session restrictions; an API key does not grant those permissions by itself.

Request body

No request body.

Responses

HTTPDetailsType
200Successful Responseapplication/json: SpendLimitList
401Unauthorizedapplication/problem+json: ProblemDetails
403Forbiddenapplication/problem+json: ProblemDetails
404Not Foundapplication/problem+json: ProblemDetails
422Unprocessable Entityapplication/problem+json: ProblemDetails

Response: SpendLimitList

PropertyTypeRequiredDetails
itemsSpendLimit[]yes
currencystringyes
microusd_per_usdintegeryes
Full schema
{
  "properties": {
    "items": {
      "items": {
        "$ref": "#/components/schemas/SpendLimit"
      },
      "type": "array",
      "title": "Items"
    },
    "currency": {
      "type": "string",
      "const": "USD",
      "title": "Currency"
    },
    "microusd_per_usd": {
      "type": "integer",
      "const": 1000000,
      "title": "Microusd Per Usd"
    }
  },
  "type": "object",
  "required": [
    "items",
    "currency",
    "microusd_per_usd"
  ],
  "title": "SpendLimitList"
}

This page is generated from OpenAPI; examples are schemas, not a fabricated successful response.

Usage and billing · Structured errors

On this page