CyberRXN Docs
APIAPI reference

Workspace request rate and latest increase request

GET /v1/rate-limit

GET /v1/rate-limit

API overview · OpenAPI

Web session with usage:read or limits:read. Rolling windows cover REST, MCP and sandbox.

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: RateLimitInfo
401Unauthorizedapplication/problem+json: ProblemDetails
403Forbiddenapplication/problem+json: ProblemDetails
404Not Foundapplication/problem+json: ProblemDetails
422Unprocessable Entityapplication/problem+json: ProblemDetails

Response: RateLimitInfo

PropertyTypeRequiredDetails
limiterstringyes
window_behaviorstringyes
plan_rpmintegeryes
effective_rpmintegeryes
override_rpminteger ∣ nullyes
window_secondsintegeryes
burst_limitintegeryes
burst_window_secondsintegeryes
latest_requestRateLimitRequest ∣ nullyes
Full schema
{
  "properties": {
    "limiter": {
      "type": "string",
      "const": "better-auth",
      "title": "Limiter"
    },
    "window_behavior": {
      "type": "string",
      "const": "inactivity",
      "title": "Window Behavior"
    },
    "plan_rpm": {
      "type": "integer",
      "title": "Plan Rpm"
    },
    "effective_rpm": {
      "type": "integer",
      "title": "Effective Rpm"
    },
    "override_rpm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Override Rpm"
    },
    "window_seconds": {
      "type": "integer",
      "const": 60,
      "title": "Window Seconds"
    },
    "burst_limit": {
      "type": "integer",
      "title": "Burst Limit"
    },
    "burst_window_seconds": {
      "type": "integer",
      "const": 10,
      "title": "Burst Window Seconds"
    },
    "latest_request": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RateLimitRequest"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "limiter",
    "window_behavior",
    "plan_rpm",
    "effective_rpm",
    "override_rpm",
    "window_seconds",
    "burst_limit",
    "burst_window_seconds",
    "latest_request"
  ],
  "title": "RateLimitInfo"
}

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

Usage and billing · Structured errors

On this page