Skip to content

Commit ffb21fe

Browse files
talosgithub-actions[bot]
authored andcommitted
chore: update OpenAPI specification from openrouter-web
1 parent 9576ea4 commit ffb21fe

File tree

1 file changed

+77
-55
lines changed

1 file changed

+77
-55
lines changed

.speakeasy/in.openapi.yaml

Lines changed: 77 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -3423,6 +3423,21 @@ components:
34233423
- computer_call_output.output.image_url
34243424
- reasoning.encrypted_content
34253425
- code_interpreter_call.outputs
3426+
DataCollection:
3427+
type: string
3428+
nullable: true
3429+
enum:
3430+
- deny
3431+
- allow
3432+
description: >-
3433+
Data collection setting. If no available model provider meets the requirement, your request will return an
3434+
error.
3435+
3436+
- allow: (default) allow providers which store user data non-transiently and may train on it
3437+
3438+
3439+
- deny: use only providers which do not collect user data.
3440+
example: allow
34263441
ProviderName:
34273442
type: string
34283443
enum:
@@ -3448,6 +3463,7 @@ components:
34483463
- Alibaba
34493464
- Amazon Bedrock
34503465
- Anthropic
3466+
- Arcee
34513467
- AtlasCloud
34523468
- Atoma
34533469
- Avian
@@ -3526,6 +3542,17 @@ components:
35263542
- fp32
35273543
- unknown
35283544
example: fp16
3545+
ProviderSort:
3546+
type: string
3547+
nullable: true
3548+
enum:
3549+
- price
3550+
- throughput
3551+
- latency
3552+
description: >-
3553+
The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is
3554+
performed.
3555+
example: price
35293556
BigNumberUnion:
35303557
anyOf:
35313558
- type: number
@@ -3664,19 +3691,7 @@ components:
36643691
is omitted or set to false, then providers will receive only the parameters they support, and ignore the
36653692
rest.
36663693
data_collection:
3667-
type: string
3668-
nullable: true
3669-
enum:
3670-
- deny
3671-
- allow
3672-
example: deny
3673-
description: >
3674-
Data collection setting. If no available model provider meets the requirement, your request will return
3675-
an error.
3676-
3677-
- allow: (default) allow providers which store user data non-transiently and may train on it
3678-
3679-
- deny: use only providers which do not collect user data.
3694+
$ref: '#/components/schemas/DataCollection'
36803695
zdr:
36813696
type: boolean
36823697
nullable: true
@@ -3729,16 +3744,7 @@ components:
37293744
$ref: '#/components/schemas/Quantization'
37303745
description: A list of quantization levels to filter the provider by.
37313746
sort:
3732-
type: string
3733-
nullable: true
3734-
enum:
3735-
- price
3736-
- throughput
3737-
- latency
3738-
example: price
3739-
description: >-
3740-
The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing
3741-
is performed.
3747+
$ref: '#/components/schemas/ProviderSort'
37423748
max_price:
37433749
type: object
37443750
properties:
@@ -5972,8 +5978,52 @@ paths:
59725978
type: array
59735979
items:
59745980
type: number
5981+
- type: array
5982+
items:
5983+
type: object
5984+
properties:
5985+
content:
5986+
type: array
5987+
items:
5988+
oneOf:
5989+
- type: object
5990+
properties:
5991+
type:
5992+
type: string
5993+
enum:
5994+
- text
5995+
text:
5996+
type: string
5997+
required:
5998+
- type
5999+
- text
6000+
- type: object
6001+
properties:
6002+
type:
6003+
type: string
6004+
enum:
6005+
- image_url
6006+
image_url:
6007+
type: object
6008+
properties:
6009+
url:
6010+
type: string
6011+
required:
6012+
- url
6013+
required:
6014+
- type
6015+
- image_url
6016+
required:
6017+
- content
59756018
model:
59766019
type: string
6020+
encoding_format:
6021+
type: string
6022+
enum:
6023+
- float
6024+
- base64
6025+
user:
6026+
type: string
59776027
provider:
59786028
type: object
59796029
properties:
@@ -5996,19 +6046,7 @@ paths:
59966046
setting is omitted or set to false, then providers will receive only the parameters they
59976047
support, and ignore the rest.
59986048
data_collection:
5999-
type: string
6000-
nullable: true
6001-
enum:
6002-
- deny
6003-
- allow
6004-
example: deny
6005-
description: >
6006-
Data collection setting. If no available model provider meets the requirement, your request will
6007-
return an error.
6008-
6009-
- allow: (default) allow providers which store user data non-transiently and may train on it
6010-
6011-
- deny: use only providers which do not collect user data.
6049+
$ref: '#/components/schemas/DataCollection'
60126050
zdr:
60136051
type: boolean
60146052
nullable: true
@@ -6061,16 +6099,7 @@ paths:
60616099
$ref: '#/components/schemas/Quantization'
60626100
description: A list of quantization levels to filter the provider by.
60636101
sort:
6064-
type: string
6065-
nullable: true
6066-
enum:
6067-
- price
6068-
- throughput
6069-
- latency
6070-
example: price
6071-
description: >-
6072-
The sorting strategy to use for this request, if "order" is not specified. When set, no load
6073-
balancing is performed.
6102+
$ref: '#/components/schemas/ProviderSort'
60746103
max_price:
60756104
type: object
60766105
properties:
@@ -6088,15 +6117,7 @@ paths:
60886117
description: >-
60896118
The object specifying the maximum price you want to pay for this request. USD price per million
60906119
tokens, for prompt and completion.
6091-
encoding_format:
6092-
anyOf:
6093-
- type: string
6094-
enum:
6095-
- float
6096-
- type: string
6097-
enum:
6098-
- base64
6099-
user:
6120+
input_type:
61006121
type: string
61016122
required:
61026123
- input
@@ -6704,6 +6725,7 @@ paths:
67046725
- Alibaba
67056726
- Amazon Bedrock
67066727
- Anthropic
6728+
- Arcee
67076729
- AtlasCloud
67086730
- Atoma
67096731
- Avian

0 commit comments

Comments
 (0)