From 1090ab30b22587611d7c6b48a79f88780ed3f112 Mon Sep 17 00:00:00 2001 From: robert-j-y <212159665+robert-j-y@users.noreply.github.com> Date: Thu, 28 May 2026 10:52:41 -0700 Subject: [PATCH] chore: update OpenAPI spec from monorepo (#279) Co-authored-by: OpenRouter SDK Bot --- .speakeasy/in.openapi.yaml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 0a8e2b1..b3b00e6 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -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: