Skip to content

Commit 9f6f941

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

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
@@ -11693,6 +11693,9 @@ components:
1169311693
type: 'object'
1169411694
DecisionsNoulAnswer:
1169511695
properties:
11696+
confidence:
11697+
format: 'double'
11698+
type: 'number'
1169611699
noul:
1169711700
format: 'double'
1169811701
type: 'number'
@@ -52964,7 +52967,7 @@ paths:
5296452967
x-speakeasy-name-override: 'get'
5296552968
/presets/{slug}/chat/completions:
5296652969
post:
52967-
description: 'Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored.'
52970+
description: 'Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored. Requires a read-write [management key](/docs/guides/overview/auth/management-api-keys); inference API keys are rejected.'
5296852971
operationId: 'createPresetsChatCompletions'
5296952972
parameters:
5297052973
- description: 'URL-safe slug identifying the preset. Created if it does not exist.'
@@ -52976,6 +52979,15 @@ paths:
5297652979
example: 'my-preset'
5297752980
minLength: 1
5297852981
type: 'string'
52982+
- description: 'Workspace to create the preset in. Defaults to the key''s workspace for a key limited to one workspace, otherwise to the account''s default workspace.'
52983+
in: 'query'
52984+
name: 'workspace_id'
52985+
required: false
52986+
schema:
52987+
description: 'Workspace to create the preset in. Defaults to the key''s workspace for a key limited to one workspace, otherwise to the account''s default workspace.'
52988+
example: '750e8400-e29b-41d4-a716-446655440002'
52989+
format: 'uuid'
52990+
type: 'string'
5297952991
requestBody:
5298052992
content:
5298152993
application/json:
@@ -53088,7 +53100,7 @@ paths:
5308853100
- 'Presets'
5308953101
/presets/{slug}/messages:
5309053102
post:
53091-
description: 'Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored.'
53103+
description: 'Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored. Requires a read-write [management key](/docs/guides/overview/auth/management-api-keys); inference API keys are rejected.'
5309253104
operationId: 'createPresetsMessages'
5309353105
parameters:
5309453106
- description: 'URL-safe slug identifying the preset. Created if it does not exist.'
@@ -53100,6 +53112,15 @@ paths:
5310053112
example: 'my-preset'
5310153113
minLength: 1
5310253114
type: 'string'
53115+
- description: 'Workspace to create the preset in. Defaults to the key''s workspace for a key limited to one workspace, otherwise to the account''s default workspace.'
53116+
in: 'query'
53117+
name: 'workspace_id'
53118+
required: false
53119+
schema:
53120+
description: 'Workspace to create the preset in. Defaults to the key''s workspace for a key limited to one workspace, otherwise to the account''s default workspace.'
53121+
example: '750e8400-e29b-41d4-a716-446655440002'
53122+
format: 'uuid'
53123+
type: 'string'
5310353124
requestBody:
5310453125
content:
5310553126
application/json:
@@ -53211,7 +53232,7 @@ paths:
5321153232
- 'Presets'
5321253233
/presets/{slug}/responses:
5321353234
post:
53214-
description: 'Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored.'
53235+
description: 'Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. `messages`, `stream`, `prompt`) are silently ignored. Requires a read-write [management key](/docs/guides/overview/auth/management-api-keys); inference API keys are rejected.'
5321553236
operationId: 'createPresetsResponses'
5321653237
parameters:
5321753238
- description: 'URL-safe slug identifying the preset. Created if it does not exist.'
@@ -53223,6 +53244,15 @@ paths:
5322353244
example: 'my-preset'
5322453245
minLength: 1
5322553246
type: 'string'
53247+
- description: 'Workspace to create the preset in. Defaults to the key''s workspace for a key limited to one workspace, otherwise to the account''s default workspace.'
53248+
in: 'query'
53249+
name: 'workspace_id'
53250+
required: false
53251+
schema:
53252+
description: 'Workspace to create the preset in. Defaults to the key''s workspace for a key limited to one workspace, otherwise to the account''s default workspace.'
53253+
example: '750e8400-e29b-41d4-a716-446655440002'
53254+
format: 'uuid'
53255+
type: 'string'
5322653256
requestBody:
5322753257
content:
5322853258
application/json:

0 commit comments

Comments
 (0)