Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 3.29 KB

ratelimitsmodel.md

File metadata and controls

11 lines (8 loc) · 3.29 KB

RatelimitsModel

Fields

Field Type Required Description Example
name str ✔️ The name of the ratelimit. tokens
cost Optional[int] Optionally override how expensive this operation is and how many tokens are deducted from the current limit.
limit Optional[int] Optionally override the limit.
duration Optional[int] Optionally override the ratelimit window duration.