Status

Rate Limit Status

0calls
Free

Want to know the current service running status? This endpoint returns key monitoring metrics.

Endpoint Archived

This endpoint is for internal admin use only and has been archived from public documentation.

GET
uapis.cn
/api/v1/status/ratelimit
Headers
1
Authorization
string
required

Bearer type API key authentication header. Example: Bearer sk-xxx

Overview

This endpoint is used to view current service status, including concurrent request count, current limit value, system load and other information, suitable for admins to troubleshoot running conditions.

Important

This is a management endpoint that requires a valid admin-level API key to access.

Authentication

Please add Authorization: Bearer <your API key> in the request header.

Header parameters

Authorization
stringrequired

Bearer type API key authentication header. Example: Bearer sk-xxx

Response

200 / OK

Query successful, returns detailed rate limiter status data.

JSON
{
  // Total number of accepted requests
  "accepts": 10000,
  // Number of current in-flight requests
  "in_flight": 10,
  // Last update time of the status
  "last_update": "2023-10-27T10:00:00Z",
  // Current concurrency limit
  "limit": 100,
  // Calculated system load (in_flight / limit)
  "load": 0.1,
  // Minimum observed RTT in milliseconds
  "min_rtt": 20.1,
  // Total number of rejected requests
  "rejects": 50,
  // Smoothed RTT in milliseconds
  "rtt": 50.5,
  // Total number of throttled requests
  "throttled": 120
}

401 / Unauthorized

Unauthorized

JSON
{
  "code": "UNAUTHENTICATED",
  "details": {},
  "message": "Authentication is required for this endpoint."
}