From ad2d9eabbc65af0a722254715d4b66d634010136 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Fri, 12 Jun 2026 20:38:47 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 101 +++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 57b14af3..dcbcb8f4 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -28529,6 +28529,107 @@ paths: description: Use chat links in RSS feed items example: 'true' type: string + - description: Free-text search by model name or slug. + in: query + name: q + required: false + schema: + description: Free-text search by model name or slug. + example: gpt-4 + type: string + - description: 'Filter models by input modality. Comma-separated list of: text, image, audio, file.' + in: query + name: input_modalities + required: false + schema: + description: 'Filter models by input modality. Comma-separated list of: text, image, audio, file.' + example: text,image + type: string + - description: Minimum context length (tokens). Models with smaller context are excluded. + in: query + name: context + required: false + schema: + description: Minimum context length (tokens). Models with smaller context are excluded. + example: 128000 + exclusiveMinimum: true + minimum: 0 + type: integer + - description: Minimum prompt price in $/M tokens. + in: query + name: min_price + required: false + schema: + description: Minimum prompt price in $/M tokens. + example: 0 + minimum: 0 + nullable: true + type: number + - description: Maximum prompt price in $/M tokens. + in: query + name: max_price + required: false + schema: + description: Maximum prompt price in $/M tokens. + example: 10 + minimum: 0 + nullable: true + type: number + - description: Filter models by architecture/model family (e.g. GPT, Claude, Gemini, Llama). + in: query + name: arch + required: false + schema: + description: Filter models by architecture/model family (e.g. GPT, Claude, Gemini, Llama). + example: GPT + type: string + - description: Filter models by the organization that created the model. Comma-separated list of author slugs. + in: query + name: model_authors + required: false + schema: + description: Filter models by the organization that created the model. Comma-separated list of author slugs. + example: openai,anthropic + type: string + - description: Filter models by hosting provider. Comma-separated list of provider names. + in: query + name: providers + required: false + schema: + description: Filter models by hosting provider. Comma-separated list of provider names. + example: OpenAI,Anthropic + type: string + - description: Filter by distillation capability. "true" returns only distillable models, "false" excludes them. + in: query + name: distillable + required: false + schema: + description: Filter by distillation capability. "true" returns only distillable models, "false" excludes them. + enum: + - 'true' + - 'false' + example: 'true' + type: string + - description: When set to "true", return only models with zero data retention endpoints. + in: query + name: zdr + required: false + schema: + description: When set to "true", return only models with zero data retention endpoints. + enum: + - 'true' + example: 'true' + type: string + - description: Filter to models with endpoints in the given data region. Currently only "eu" is supported. + in: query + name: region + required: false + schema: + description: Filter to models with endpoints in the given data region. Currently only "eu" is supported. + enum: + - eu + example: eu + type: string responses: '200': content: