Skip to content

Commit 9dfe4c2

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1079)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent c8f0351 commit 9dfe4c2

1 file changed

Lines changed: 57 additions & 2 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10628,6 +10628,57 @@ components:
1062810628
- 'debug'
1062910629
- 'sequence_number'
1063010630
type: 'object'
10631+
DecisionsBoxAnswer:
10632+
properties:
10633+
box:
10634+
properties:
10635+
bottom:
10636+
format: 'double'
10637+
type: 'number'
10638+
left:
10639+
format: 'double'
10640+
type: 'number'
10641+
right:
10642+
format: 'double'
10643+
type: 'number'
10644+
top:
10645+
format: 'double'
10646+
type: 'number'
10647+
required:
10648+
- 'top'
10649+
- 'bottom'
10650+
- 'left'
10651+
- 'right'
10652+
type: 'object'
10653+
confidence:
10654+
format: 'double'
10655+
type: 'number'
10656+
type:
10657+
enum:
10658+
- 'box'
10659+
type: 'string'
10660+
required:
10661+
- 'type'
10662+
- 'box'
10663+
type: 'object'
10664+
DecisionsBoxQuestion:
10665+
properties:
10666+
instructions:
10667+
anyOf:
10668+
- type: 'string'
10669+
- additionalProperties: {}
10670+
type: 'object'
10671+
- items: {}
10672+
type: 'array'
10673+
description: 'A plain string, or a JSON object or array of structured guidance.'
10674+
type:
10675+
enum:
10676+
- 'box'
10677+
type: 'string'
10678+
required:
10679+
- 'type'
10680+
- 'instructions'
10681+
type: 'object'
1063110682
DecisionsChoiceAnswer:
1063210683
properties:
1063310684
choice:
@@ -10741,9 +10792,10 @@ components:
1074110792
- description: 'Provider routing preferences for the request.'
1074210793
questions:
1074310794
additionalProperties:
10744-
description: 'A Decisions question using a boolean, choice, or ordered score evaluation.'
10795+
description: 'A Decisions question using a boolean, choice, ordered score, or image bounding-box evaluation.'
1074510796
discriminator:
1074610797
mapping:
10798+
box: '#/components/schemas/DecisionsBoxQuestion'
1074710799
choice: '#/components/schemas/DecisionsChoiceQuestion'
1074810800
noul: '#/components/schemas/DecisionsNoulQuestion'
1074910801
score: '#/components/schemas/DecisionsScoreQuestion'
@@ -10752,6 +10804,7 @@ components:
1075210804
- $ref: '#/components/schemas/DecisionsNoulQuestion'
1075310805
- $ref: '#/components/schemas/DecisionsChoiceQuestion'
1075410806
- $ref: '#/components/schemas/DecisionsScoreQuestion'
10807+
- $ref: '#/components/schemas/DecisionsBoxQuestion'
1075510808
type: 'object'
1075610809
session_id:
1075710810
description: 'A unique identifier for grouping related requests (e.g., a conversation or agent workflow). Used for observability grouping in Broadcast and private logging; never sent to the provider. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 256 characters.'
@@ -10780,9 +10833,10 @@ components:
1078010833
properties:
1078110834
answers:
1078210835
additionalProperties:
10783-
description: 'A Decisions answer using a boolean, choice, or score evaluation.'
10836+
description: 'A Decisions answer using a boolean, choice, score, or image bounding-box evaluation.'
1078410837
discriminator:
1078510838
mapping:
10839+
box: '#/components/schemas/DecisionsBoxAnswer'
1078610840
choice: '#/components/schemas/DecisionsChoiceAnswer'
1078710841
noul: '#/components/schemas/DecisionsNoulAnswer'
1078810842
score: '#/components/schemas/DecisionsScoreAnswer'
@@ -10791,6 +10845,7 @@ components:
1079110845
- $ref: '#/components/schemas/DecisionsNoulAnswer'
1079210846
- $ref: '#/components/schemas/DecisionsChoiceAnswer'
1079310847
- $ref: '#/components/schemas/DecisionsScoreAnswer'
10848+
- $ref: '#/components/schemas/DecisionsBoxAnswer'
1079410849
type: 'object'
1079510850
id:
1079610851
type: 'string'

0 commit comments

Comments
 (0)