Skip to content

Commit e98a7a8

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#316)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent c4b508f commit e98a7a8

1 file changed

Lines changed: 101 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28529,6 +28529,107 @@ paths:
2852928529
description: Use chat links in RSS feed items
2853028530
example: 'true'
2853128531
type: string
28532+
- description: Free-text search by model name or slug.
28533+
in: query
28534+
name: q
28535+
required: false
28536+
schema:
28537+
description: Free-text search by model name or slug.
28538+
example: gpt-4
28539+
type: string
28540+
- description: 'Filter models by input modality. Comma-separated list of: text, image, audio, file.'
28541+
in: query
28542+
name: input_modalities
28543+
required: false
28544+
schema:
28545+
description: 'Filter models by input modality. Comma-separated list of: text, image, audio, file.'
28546+
example: text,image
28547+
type: string
28548+
- description: Minimum context length (tokens). Models with smaller context are excluded.
28549+
in: query
28550+
name: context
28551+
required: false
28552+
schema:
28553+
description: Minimum context length (tokens). Models with smaller context are excluded.
28554+
example: 128000
28555+
exclusiveMinimum: true
28556+
minimum: 0
28557+
type: integer
28558+
- description: Minimum prompt price in $/M tokens.
28559+
in: query
28560+
name: min_price
28561+
required: false
28562+
schema:
28563+
description: Minimum prompt price in $/M tokens.
28564+
example: 0
28565+
minimum: 0
28566+
nullable: true
28567+
type: number
28568+
- description: Maximum prompt price in $/M tokens.
28569+
in: query
28570+
name: max_price
28571+
required: false
28572+
schema:
28573+
description: Maximum prompt price in $/M tokens.
28574+
example: 10
28575+
minimum: 0
28576+
nullable: true
28577+
type: number
28578+
- description: Filter models by architecture/model family (e.g. GPT, Claude, Gemini, Llama).
28579+
in: query
28580+
name: arch
28581+
required: false
28582+
schema:
28583+
description: Filter models by architecture/model family (e.g. GPT, Claude, Gemini, Llama).
28584+
example: GPT
28585+
type: string
28586+
- description: Filter models by the organization that created the model. Comma-separated list of author slugs.
28587+
in: query
28588+
name: model_authors
28589+
required: false
28590+
schema:
28591+
description: Filter models by the organization that created the model. Comma-separated list of author slugs.
28592+
example: openai,anthropic
28593+
type: string
28594+
- description: Filter models by hosting provider. Comma-separated list of provider names.
28595+
in: query
28596+
name: providers
28597+
required: false
28598+
schema:
28599+
description: Filter models by hosting provider. Comma-separated list of provider names.
28600+
example: OpenAI,Anthropic
28601+
type: string
28602+
- description: Filter by distillation capability. "true" returns only distillable models, "false" excludes them.
28603+
in: query
28604+
name: distillable
28605+
required: false
28606+
schema:
28607+
description: Filter by distillation capability. "true" returns only distillable models, "false" excludes them.
28608+
enum:
28609+
- 'true'
28610+
- 'false'
28611+
example: 'true'
28612+
type: string
28613+
- description: When set to "true", return only models with zero data retention endpoints.
28614+
in: query
28615+
name: zdr
28616+
required: false
28617+
schema:
28618+
description: When set to "true", return only models with zero data retention endpoints.
28619+
enum:
28620+
- 'true'
28621+
example: 'true'
28622+
type: string
28623+
- description: Filter to models with endpoints in the given data region. Currently only "eu" is supported.
28624+
in: query
28625+
name: region
28626+
required: false
28627+
schema:
28628+
description: Filter to models with endpoints in the given data region. Currently only "eu" is supported.
28629+
enum:
28630+
- eu
28631+
example: eu
28632+
type: string
2853228633
responses:
2853328634
'200':
2853428635
content:

0 commit comments

Comments
 (0)