chore: update OpenAPI spec from monorepo (#251)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
robert-j-y
2026-05-15 13:49:07 -07:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent a7fd661299
commit 0ecf2ef253
+69
View File
@@ -5305,6 +5305,57 @@ components:
- type
- image_url
type: object
ContentPartInputAudio:
example:
input_audio:
data: data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...
format: wav
type: input_audio
properties:
input_audio:
$ref: '#/components/schemas/MultimodalMedia'
type:
enum:
- input_audio
type: string
required:
- type
- input_audio
type: object
ContentPartInputFile:
example:
input_file:
data: data:application/pdf;base64,JVBERi0xLjQKJeLjz9MKMyAw...
format: pdf
type: input_file
properties:
input_file:
$ref: '#/components/schemas/MultimodalMedia'
type:
enum:
- input_file
type: string
required:
- type
- input_file
type: object
ContentPartInputVideo:
example:
input_video:
data: data:video/mp4;base64,AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQy...
format: mp4
type: input_video
properties:
input_video:
$ref: '#/components/schemas/MultimodalMedia'
type:
enum:
- input_video
type: string
required:
- type
- input_video
type: object
ContextCompressionEngine:
description: The compression engine to use. Defaults to "middle-out".
enum:
@@ -10195,6 +10246,18 @@ components:
required:
- id
type: object
MultimodalMedia:
example:
data: data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...
format: wav
properties:
data:
type: string
format:
type: string
required:
- data
type: object
NotFoundResponse:
description: Not Found - Resource does not exist
example:
@@ -17734,6 +17797,9 @@ paths:
- type
- image_url
type: object
- $ref: '#/components/schemas/ContentPartInputAudio'
- $ref: '#/components/schemas/ContentPartInputVideo'
- $ref: '#/components/schemas/ContentPartInputFile'
type: array
required:
- content
@@ -17861,6 +17927,9 @@ paths:
audio_tokens:
description: Number of audio tokens in the input
type: integer
file_tokens:
description: Number of file/document tokens in the input
type: integer
image_tokens:
description: Number of image tokens in the input
example: 258