You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e78ccad
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+152Lines changed: 152 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22557,6 +22557,23 @@ components:
22557
22557
type:
22558
22558
- 'string'
22559
22559
- 'null'
22560
+
OrganizationSettings:
22561
+
example:
22562
+
id: 'org_2dHFtVWx2n56w6HkM0000000000'
22563
+
is_filtered_model_catalog_enabled: true
22564
+
properties:
22565
+
id:
22566
+
description: 'ID of the organization the settings belong to'
22567
+
example: 'org_2dHFtVWx2n56w6HkM0000000000'
22568
+
type: 'string'
22569
+
is_filtered_model_catalog_enabled:
22570
+
description: 'When true, `GET /api/v1/models` called with one of the organization''s API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.'
22571
+
example: true
22572
+
type: 'boolean'
22573
+
required:
22574
+
- 'id'
22575
+
- 'is_filtered_model_catalog_enabled'
22576
+
type: 'object'
22560
22577
OutputAdvisorServerToolItem:
22561
22578
description: 'An openrouter:advisor server tool output item'
22562
22579
example:
@@ -31198,6 +31215,16 @@ components:
31198
31215
required:
31199
31216
- 'data'
31200
31217
type: 'object'
31218
+
UpdateOrganizationSettingsRequest:
31219
+
additionalProperties: false
31220
+
properties:
31221
+
is_filtered_model_catalog_enabled:
31222
+
description: 'When true, `GET /api/v1/models` called with one of the organization''s API keys returns only the models that key can use (the `/api/v1/models/user` catalog), and the signed-in dashboard shows the same list. Anonymous requests always receive the public catalog.'
31223
+
example: true
31224
+
type: 'boolean'
31225
+
required:
31226
+
- 'is_filtered_model_catalog_enabled'
31227
+
type: 'object'
31201
31228
UpdatePrivateEndpointPricingRequest:
31202
31229
properties:
31203
31230
pricing:
@@ -45419,6 +45446,131 @@ paths:
45419
45446
outputs:
45420
45447
results: '$.data'
45421
45448
type: 'offsetLimit'
45449
+
/organization/settings:
45450
+
get:
45451
+
description: 'Get the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
45452
+
operationId: 'getOrganizationSettings'
45453
+
responses:
45454
+
'200':
45455
+
content:
45456
+
application/json:
45457
+
example:
45458
+
data:
45459
+
id: 'org_2dHFtVWx2n56w6HkM0000000000'
45460
+
is_filtered_model_catalog_enabled: true
45461
+
schema:
45462
+
properties:
45463
+
data:
45464
+
$ref: '#/components/schemas/OrganizationSettings'
45465
+
required:
45466
+
- 'data'
45467
+
type: 'object'
45468
+
description: 'Organization settings'
45469
+
'401':
45470
+
content:
45471
+
application/json:
45472
+
example:
45473
+
error:
45474
+
code: 401
45475
+
message: 'Missing Authentication header'
45476
+
schema:
45477
+
$ref: '#/components/schemas/UnauthorizedResponse'
45478
+
description: 'Unauthorized - Authentication required or invalid credentials'
45479
+
'404':
45480
+
content:
45481
+
application/json:
45482
+
example:
45483
+
error:
45484
+
code: 404
45485
+
message: 'Resource not found'
45486
+
schema:
45487
+
$ref: '#/components/schemas/NotFoundResponse'
45488
+
description: 'Not Found - Resource does not exist'
description: 'Internal Server Error - Unexpected server error'
45499
+
summary: 'Get organization settings'
45500
+
tags:
45501
+
- 'Organization'
45502
+
x-speakeasy-name-override: 'getSettings'
45503
+
patch:
45504
+
description: 'Update the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
0 commit comments