From 8344ff8641a411f2036d311b0b8e4a5916c440c9 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Wed, 16 Sep 2026 04:12:06 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index bb25b3d3..5e9005f4 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -9551,6 +9551,46 @@ components: - 'url' - 'title' type: 'object' + GatewayTimeoutResponse: + description: 'Gateway Timeout - Provider did not respond before the upstream deadline' + example: + error: + code: 504 + message: 'The operation was aborted due to timeout' + properties: + error: + $ref: '#/components/schemas/GatewayTimeoutResponseErrorData' + openrouter_metadata: + additionalProperties: {} + type: + - 'object' + - 'null' + user_id: + type: + - 'string' + - 'null' + required: + - 'error' + type: 'object' + GatewayTimeoutResponseErrorData: + description: 'Error data for GatewayTimeoutResponse' + example: + code: 504 + message: 'The operation was aborted due to timeout' + properties: + code: + type: 'integer' + message: + type: 'string' + metadata: + additionalProperties: {} + type: + - 'object' + - 'null' + required: + - 'code' + - 'message' + type: 'object' GenerationContentData: description: 'Stored prompt and completion content, plus the failure error when one was stored' example: @@ -29024,6 +29064,16 @@ paths: schema: $ref: '#/components/schemas/ServiceUnavailableResponse' description: 'Service Unavailable - Service temporarily unavailable' + '504': + content: + application/json: + example: + error: + code: 504 + message: 'The operation was aborted due to timeout' + schema: + $ref: '#/components/schemas/GatewayTimeoutResponse' + description: 'Gateway Timeout - Provider did not respond before the upstream deadline' '524': content: application/json: