Skip to content

Commit 67e6da9

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

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10928,6 +10928,11 @@ components:
1092810928
seed:
1092910929
description: 'If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers.'
1093010930
type: 'integer'
10931+
session_id:
10932+
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
10933+
example: 'session-1234'
10934+
maxLength: 256
10935+
type: 'string'
1093110936
size:
1093210937
description: 'Optional. A convenience shorthand for output dimensions — pass a tier ("2K", "4K") or explicit pixels ("2048x2048") and we normalize it to the right dimensions for the chosen provider. A tier size is equivalent to setting `resolution` and combines with `aspect_ratio`. An explicit pixel size is authoritative: a mismatched `resolution` or `aspect_ratio` alongside it is rejected with a 400.'
1093310938
example: '2K'
@@ -24504,6 +24509,11 @@ components:
2450424509
- 'pcm'
2450524510
example: 'pcm'
2450624511
type: 'string'
24512+
session_id:
24513+
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
24514+
example: 'session-1234'
24515+
maxLength: 256
24516+
type: 'string'
2450724517
speed:
2450824518
description: 'Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers.'
2450924519
example: 1
@@ -25004,6 +25014,11 @@ components:
2500425014
- 'verbose_json'
2500525015
example: 'json'
2500625016
type: 'string'
25017+
session_id:
25018+
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
25019+
example: 'session-1234'
25020+
maxLength: 256
25021+
type: 'string'
2500725022
temperature:
2500825023
description: 'Sampling temperature for transcription'
2500925024
example: 0
@@ -27149,6 +27164,11 @@ components:
2714927164
seed:
2715027165
description: 'If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers.'
2715127166
type: 'integer'
27167+
session_id:
27168+
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
27169+
example: 'session-1234'
27170+
maxLength: 256
27171+
type: 'string'
2715227172
size:
2715327173
description: 'Exact pixel dimensions of the generated video in "WIDTHxHEIGHT" format (e.g. "1280x720"). Interchangeable with resolution + aspect_ratio.'
2715427174
example: '1280x720'
@@ -31538,6 +31558,11 @@ paths:
3153831558
allOf:
3153931559
- $ref: '#/components/schemas/ProviderPreferences'
3154031560
- description: 'Provider routing preferences for the request.'
31561+
session_id:
31562+
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
31563+
example: 'session-1234'
31564+
maxLength: 256
31565+
type: 'string'
3154131566
trace:
3154231567
$ref: '#/components/schemas/TraceConfig'
3154331568
user:
@@ -39185,6 +39210,11 @@ paths:
3918539210
description: 'The search query to rerank documents against'
3918639211
example: 'What is the capital of France?'
3918739212
type: 'string'
39213+
session_id:
39214+
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
39215+
example: 'session-1234'
39216+
maxLength: 256
39217+
type: 'string'
3918839218
top_n:
3918939219
description: 'Number of most relevant documents to return'
3919039220
example: 3

0 commit comments

Comments
 (0)