Skip to content

Commit 7217547

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

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12538,7 +12538,7 @@ components:
1253812538
minItems: 1
1253912539
type: 'array'
1254012540
model:
12541-
description: 'Echoed as `model` on the streamed chunks; the final chunk may carry the model the intern reported instead. The intern chooses its own model, so this value does not change what runs.'
12541+
description: 'Accepted for OpenAI compatibility and ignored. Streamed chunks report the model the intern actually used, or `openrouter/intern` when it did not report one.'
1254212542
example: 'openrouter/intern'
1254312543
maxLength: 256
1254412544
minLength: 1
@@ -36917,6 +36917,7 @@ paths:
3691736917
limit: 100
3691836918
limit_remaining: 74.5
3691936919
limit_reset: 'monthly'
36920+
organization_id: null
3692036921
rate_limit:
3692136922
interval: '1h'
3692236923
note: 'This field is deprecated and safe to ignore.'
@@ -36925,6 +36926,7 @@ paths:
3692536926
usage_daily: 25.5
3692636927
usage_monthly: 25.5
3692736928
usage_weekly: 25.5
36929+
workspace_id: '0df9e665-d932-5740-b2c7-b52af166bc11'
3692836930
schema:
3692936931
example:
3693036932
data:
@@ -37082,6 +37084,12 @@ paths:
3708237084
type:
3708337085
- 'string'
3708437086
- 'null'
37087+
organization_id:
37088+
description: 'The ID of the organization that owns this API key, or null when an individual account owns it.'
37089+
example: null
37090+
type:
37091+
- 'string'
37092+
- 'null'
3708537093
rate_limit:
3708637094
deprecated: true
3708737095
description: 'Legacy rate limit information about a key. Will always return -1.'
@@ -37127,6 +37135,12 @@ paths:
3712737135
example: 25.5
3712837136
format: 'double'
3712937137
type: 'number'
37138+
workspace_id:
37139+
description: 'The ID of the workspace this API key spends in, or null when no active workspace resolved for it, for example because the key''s workspace was deleted.'
37140+
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
37141+
type:
37142+
- 'string'
37143+
- 'null'
3713037144
required:
3713137145
- 'label'
3713237146
- 'limit'
@@ -37145,6 +37159,8 @@ paths:
3714537159
- 'limit_reset'
3714637160
- 'include_byok_in_limit'
3714737161
- 'creator_user_id'
37162+
- 'organization_id'
37163+
- 'workspace_id'
3714837164
- 'allowed_data_regions'
3714937165
- 'free_model_daily_requests'
3715037166
- 'rate_limit'

0 commit comments

Comments
 (0)