Skip to content

Commit 824dc0b

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

1 file changed

Lines changed: 33 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44311,12 +44311,12 @@ paths:
4431144311
type:
4431244312
- 'integer'
4431344313
- 'null'
44314-
- description: 'Filter API keys by workspace ID. By default, keys in the default workspace are returned.'
44314+
- description: 'Filter API keys by workspace ID. By default an organization-scoped management key gets the default workspace; a workspace-scoped management key always gets its own workspace and cannot list another.'
4431544315
in: 'query'
4431644316
name: 'workspace_id'
4431744317
required: false
4431844318
schema:
44319-
description: 'Filter API keys by workspace ID. By default, keys in the default workspace are returned.'
44319+
description: 'Filter API keys by workspace ID. By default an organization-scoped management key gets the default workspace; a workspace-scoped management key always gets its own workspace and cannot list another.'
4432044320
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
4432144321
format: 'uuid'
4432244322
type: 'string'
@@ -44572,6 +44572,16 @@ paths:
4457244572
schema:
4457344573
$ref: '#/components/schemas/UnauthorizedResponse'
4457444574
description: 'Unauthorized - Authentication required or invalid credentials'
44575+
'403':
44576+
content:
44577+
application/json:
44578+
example:
44579+
error:
44580+
code: 403
44581+
message: 'Only management keys can perform this operation'
44582+
schema:
44583+
$ref: '#/components/schemas/ForbiddenResponse'
44584+
description: 'Forbidden - Authentication successful but insufficient permissions'
4457544585
'404':
4457644586
content:
4457744587
application/json:
@@ -44688,7 +44698,7 @@ paths:
4468844698
minLength: 1
4468944699
type: 'string'
4469044700
workspace_id:
44691-
description: 'The workspace to create the API key in. Defaults to the default workspace if not provided.'
44701+
description: 'The workspace to create the API key in. Defaults to the default workspace for an organization-scoped management key, or to the management key''s own workspace for a workspace-scoped one, which cannot create keys elsewhere.'
4469244702
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
4469344703
format: 'uuid'
4469444704
type: 'string'
@@ -45030,6 +45040,16 @@ paths:
4503045040
schema:
4503145041
$ref: '#/components/schemas/UnauthorizedResponse'
4503245042
description: 'Unauthorized - Authentication required or invalid credentials'
45043+
'403':
45044+
content:
45045+
application/json:
45046+
example:
45047+
error:
45048+
code: 403
45049+
message: 'Only management keys can perform this operation'
45050+
schema:
45051+
$ref: '#/components/schemas/ForbiddenResponse'
45052+
description: 'Forbidden - Authentication successful but insufficient permissions'
4503345053
'404':
4503445054
content:
4503545055
application/json:
@@ -45316,6 +45336,16 @@ paths:
4531645336
schema:
4531745337
$ref: '#/components/schemas/UnauthorizedResponse'
4531845338
description: 'Unauthorized - Authentication required or invalid credentials'
45339+
'403':
45340+
content:
45341+
application/json:
45342+
example:
45343+
error:
45344+
code: 403
45345+
message: 'Only management keys can perform this operation'
45346+
schema:
45347+
$ref: '#/components/schemas/ForbiddenResponse'
45348+
description: 'Forbidden - Authentication successful but insufficient permissions'
4531945349
'404':
4532045350
content:
4532145351
application/json:

0 commit comments

Comments
 (0)