From 4bfdb85f4c7dc40f24a097054ea0656c850220a7 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Thu, 15 Oct 2026 01:45:35 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 0d303637..f8d95708 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -28542,6 +28542,17 @@ components: description: '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: + anyOf: + - type: 'string' + - items: + type: 'string' + maxItems: 4 + type: 'array' + - type: 'null' + description: 'Stop sequences (up to 4)' + example: + - "\n" stop_server_tools_when: $ref: '#/components/schemas/StopServerToolsWhen' store: @@ -44533,6 +44544,16 @@ paths: schema: $ref: '#/components/schemas/UnauthorizedResponse' description: 'Unauthorized - Authentication required or invalid credentials' + '404': + content: + application/json: + example: + error: + code: 404 + message: 'Resource not found' + schema: + $ref: '#/components/schemas/NotFoundResponse' + description: 'Not Found - Resource does not exist' '429': content: application/json: