Skip to content

Commit 086d79e

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#847)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 3fbb198 commit 086d79e

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8843,6 +8843,30 @@ components:
88438843
image_url:
88448844
url: 'https://example.com/image.png'
88458845
type: 'image_url'
8846+
FreeModelDailyRequests:
8847+
description: 'Free-model (`:free` variant) daily request quota for the account that owns the key. Reports the same counter and tier limit that free-model enforcement reads for accounts subject to the free-model limits; the counter resets at UTC midnight. Accounts and endpoints exempt from free-model limits, and BYOK requests, are not gated by it, so `remaining` is the tier policy rather than an enforced ceiling for them.'
8848+
example:
8849+
limit: 50
8850+
remaining: 38
8851+
used: 12
8852+
properties:
8853+
limit:
8854+
description: 'Free-model requests the account may make per UTC day; the ceiling depends on total credits purchased and is independent of `is_free_tier`'
8855+
example: 50
8856+
type: 'integer'
8857+
remaining:
8858+
description: 'Free-model requests left in the current UTC day'
8859+
example: 38
8860+
type: 'integer'
8861+
used:
8862+
description: 'Free-model requests recorded for the account so far in the current UTC day'
8863+
example: 12
8864+
type: 'integer'
8865+
required:
8866+
- 'used'
8867+
- 'limit'
8868+
- 'remaining'
8869+
type: 'object'
88468870
FunctionCallArgsDeltaEvent:
88478871
allOf:
88488872
- $ref: '#/components/schemas/BaseFunctionCallArgsDeltaEvent'
@@ -34366,6 +34390,10 @@ paths:
3436634390
byok_usage_weekly: 17.38
3436734391
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3436834392
expires_at: '2027-12-31T23:59:59Z'
34393+
free_model_daily_requests:
34394+
limit: 50
34395+
remaining: 38
34396+
used: 12
3436934397
include_byok_in_limit: false
3437034398
is_free_tier: false
3437134399
is_management_key: false
@@ -34391,6 +34419,10 @@ paths:
3439134419
byok_usage_weekly: 17.38
3439234420
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3439334421
expires_at: '2027-12-31T23:59:59Z'
34422+
free_model_daily_requests:
34423+
limit: 50
34424+
remaining: 38
34425+
used: 12
3439434426
include_byok_in_limit: false
3439534427
is_free_tier: false
3439634428
is_management_key: false
@@ -34417,6 +34449,10 @@ paths:
3441734449
byok_usage_weekly: 17.38
3441834450
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3441934451
expires_at: '2027-12-31T23:59:59Z'
34452+
free_model_daily_requests:
34453+
limit: 50
34454+
remaining: 38
34455+
used: 12
3442034456
include_byok_in_limit: false
3442134457
is_free_tier: false
3442234458
is_management_key: false
@@ -34467,6 +34503,8 @@ paths:
3446734503
type:
3446834504
- 'string'
3446934505
- 'null'
34506+
free_model_daily_requests:
34507+
$ref: '#/components/schemas/FreeModelDailyRequests'
3447034508
include_byok_in_limit:
3447134509
description: 'Whether to include external BYOK usage in the credit limit'
3447234510
example: false
@@ -34571,6 +34609,7 @@ paths:
3457134609
- 'limit_reset'
3457234610
- 'include_byok_in_limit'
3457334611
- 'creator_user_id'
34612+
- 'free_model_daily_requests'
3457434613
- 'rate_limit'
3457534614
type: 'object'
3457634615
required:

0 commit comments

Comments
 (0)