Skip to main content
GET
/
api
/
governance
/
rate-limits
Error
A valid request URL is required to generate request examples
{
  "rate_limits": [
    {
      "id": "<string>",
      "token_max_limit": 123,
      "token_reset_duration": "<string>",
      "token_current_usage": 123,
      "token_last_reset": "2023-11-07T05:31:56Z",
      "request_max_limit": 123,
      "request_reset_duration": "<string>",
      "request_current_usage": 123,
      "request_last_reset": "2023-11-07T05:31:56Z",
      "config_hash": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 123
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Query Parameters

from_memory
boolean
default:false

If true, returns rate limits from in-memory cache instead of database

Response

Successful response

List rate limits response

rate_limits
object[]
count
integer