Skip to main content
GET
Get live rate-limit status

Authorizations

Authorization
string
header
required

JWT obtained through Barndoor's authentication flow. Pass the token verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's loginInteractive() helper to obtain a token in scripts and notebooks.

Response

200 - application/json

Live policy usage

policy
object
rpm_used
integer
rpm_limit
integer
rpm_percentage
number
tpm_used
integer
tpm_limit
integer
tpm_percentage
number