chore: update OpenAPI spec from monorepo (#279)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
robert-j-y
2026-05-28 10:52:41 -07:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent 51a8873f33
commit 1090ab30b2
+12 -9
View File
@@ -4464,9 +4464,10 @@ components:
type: string
session_id:
description: >-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for
observability. If provided in both the request body and the x-session-id header, the body value takes
precedence. Maximum of 256 characters.
A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided,
OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to
maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and
the x-session-id header, the body value takes precedence. Maximum of 256 characters.
maxLength: 256
type: string
stop:
@@ -9957,9 +9958,10 @@ components:
type: string
session_id:
description: >-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for
observability. If provided in both the request body and the x-session-id header, the body value takes
precedence. Maximum of 256 characters.
A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided,
OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to
maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and
the x-session-id header, the body value takes precedence. Maximum of 256 characters.
maxLength: 256
type: string
speed:
@@ -17353,9 +17355,10 @@ components:
type: string
session_id:
description: >-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for
observability. If provided in both the request body and the x-session-id header, the body value takes
precedence. Maximum of 256 characters.
A unique identifier for grouping related requests (e.g., a conversation or agent workflow). When provided,
OpenRouter uses it as the sticky routing key, routing all requests in the session to the same provider to
maximize prompt cache hits. Also used for observability grouping. If provided in both the request body and
the x-session-id header, the body value takes precedence. Maximum of 256 characters.
maxLength: 256
type: string
stop_server_tools_when: