Skip to content

Commit e7a6ffe

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 328d3ca commit e7a6ffe

1 file changed

Lines changed: 100 additions & 2 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 100 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9995,6 +9995,12 @@ components:
99959995
type:
99969996
- 'boolean'
99979997
- 'null'
9998+
enforce_first_party_harness_models:
9999+
description: 'Whether coding harnesses list only their vendor''s own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.'
10000+
example: false
10001+
type:
10002+
- 'boolean'
10003+
- 'null'
999810004
enforce_zdr:
999910005
deprecated: true
1000010006
description: 'Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.'
@@ -13702,6 +13708,12 @@ components:
1370213708
type:
1370313709
- 'boolean'
1370413710
- 'null'
13711+
enforce_first_party_harness_models:
13712+
description: 'Whether coding harnesses list only their vendor''s own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.'
13713+
example: false
13714+
type:
13715+
- 'boolean'
13716+
- 'null'
1370513717
enforce_zdr:
1370613718
deprecated: true
1370713719
description: 'Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.'
@@ -22938,7 +22950,7 @@ components:
2293822950
example: 'org_2dHFtVWx2n56w6HkM0000000000'
2293922951
type: 'string'
2294022952
is_filtered_model_catalog_enabled:
22941-
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.'
22953+
description: 'When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.'
2294222954
example: true
2294322955
type: 'boolean'
2294422956
required:
@@ -31888,6 +31900,12 @@ components:
3188831900
type:
3188931901
- 'boolean'
3189031902
- 'null'
31903+
enforce_first_party_harness_models:
31904+
description: 'Whether coding harnesses list only their vendor''s own models: Codex lists OpenAI models and Claude Code and Claude Desktop list Anthropic models. Affects only the model list those harnesses request from GET /models; a model the client names directly is still routed. Any true across the workspace default, member, and API key guardrails applies.'
31905+
example: true
31906+
type:
31907+
- 'boolean'
31908+
- 'null'
3189131909
enforce_zdr:
3189231910
deprecated: true
3189331911
description: 'Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request.'
@@ -32108,7 +32126,7 @@ components:
3210832126
additionalProperties: false
3210932127
properties:
3211032128
is_filtered_model_catalog_enabled:
32111-
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.'
32129+
description: 'When true, the signed-in dashboard lists only the models the organization can use. `GET /api/v1/models` called with an API key always returns only the models that key can use, whatever this setting says; anonymous requests receive the public catalog.'
3211232130
example: true
3211332131
type: 'boolean'
3211432132
required:
@@ -44468,6 +44486,16 @@ paths:
4446844486
schema:
4446944487
$ref: '#/components/schemas/BadRequestResponse'
4447044488
description: 'Bad Request - Invalid request parameters or malformed input'
44489+
'401':
44490+
content:
44491+
application/json:
44492+
example:
44493+
error:
44494+
code: 401
44495+
message: 'Missing Authentication header'
44496+
schema:
44497+
$ref: '#/components/schemas/UnauthorizedResponse'
44498+
description: 'Unauthorized - Authentication required or invalid credentials'
4447144499
'403':
4447244500
content:
4447344501
application/json:
@@ -44478,6 +44506,46 @@ paths:
4447844506
schema:
4447944507
$ref: '#/components/schemas/ForbiddenResponse'
4448044508
description: 'Forbidden - Authentication successful but insufficient permissions'
44509+
'404':
44510+
content:
44511+
application/json:
44512+
example:
44513+
error:
44514+
code: 404
44515+
message: 'Resource not found'
44516+
schema:
44517+
$ref: '#/components/schemas/NotFoundResponse'
44518+
description: 'Not Found - Resource does not exist'
44519+
'408':
44520+
content:
44521+
application/json:
44522+
example:
44523+
error:
44524+
code: 408
44525+
message: 'Operation timed out. Please try again later.'
44526+
schema:
44527+
$ref: '#/components/schemas/RequestTimeoutResponse'
44528+
description: 'Request Timeout - Operation exceeded time limit'
44529+
'409':
44530+
content:
44531+
application/json:
44532+
example:
44533+
error:
44534+
code: 409
44535+
message: 'Resource conflict. Please try again later.'
44536+
schema:
44537+
$ref: '#/components/schemas/ConflictResponse'
44538+
description: 'Conflict - Resource conflict or concurrent modification'
44539+
'429':
44540+
content:
44541+
application/json:
44542+
example:
44543+
error:
44544+
code: 429
44545+
message: 'Rate limit exceeded'
44546+
schema:
44547+
$ref: '#/components/schemas/TooManyRequestsResponse'
44548+
description: 'Too Many Requests - Rate limit exceeded'
4448144549
'500':
4448244550
content:
4448344551
application/json:
@@ -44840,6 +44908,36 @@ paths:
4484044908
schema:
4484144909
$ref: '#/components/schemas/NotFoundResponse'
4484244910
description: 'Not Found - Resource does not exist'
44911+
'408':
44912+
content:
44913+
application/json:
44914+
example:
44915+
error:
44916+
code: 408
44917+
message: 'Operation timed out. Please try again later.'
44918+
schema:
44919+
$ref: '#/components/schemas/RequestTimeoutResponse'
44920+
description: 'Request Timeout - Operation exceeded time limit'
44921+
'409':
44922+
content:
44923+
application/json:
44924+
example:
44925+
error:
44926+
code: 409
44927+
message: 'Resource conflict. Please try again later.'
44928+
schema:
44929+
$ref: '#/components/schemas/ConflictResponse'
44930+
description: 'Conflict - Resource conflict or concurrent modification'
44931+
'429':
44932+
content:
44933+
application/json:
44934+
example:
44935+
error:
44936+
code: 429
44937+
message: 'Rate limit exceeded'
44938+
schema:
44939+
$ref: '#/components/schemas/TooManyRequestsResponse'
44940+
description: 'Too Many Requests - Rate limit exceeded'
4484344941
'500':
4484444942
content:
4484544943
application/json:

0 commit comments

Comments
 (0)