Skip to content

Commit c351a74

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

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10960,6 +10960,7 @@ components:
1096010960
- 'box'
1096110961
type: 'object'
1096210962
DecisionsBoxQuestion:
10963+
description: 'Finds one target in an image in `state` and answers with one bounding box (`top`, `bottom`, `left`, `right` as fractions of the image). Served by TypeSafe Jev endpoints only; every other provider rejects a box question with `400` before anything is sent upstream.'
1096310964
properties:
1096410965
instructions:
1096510966
anyOf:
@@ -10968,7 +10969,7 @@ components:
1096810969
type: 'object'
1096910970
- items: {}
1097010971
type: 'array'
10971-
description: 'A plain string, or a JSON object or array of structured guidance.'
10972+
description: 'A description of the target to find, naming the image in `state` it is in; not a command, and no `criteria`.'
1097210973
type:
1097310974
enum:
1097410975
- 'box'
@@ -11107,7 +11108,7 @@ components:
1110711108
assets:
1110811109
additionalProperties:
1110911110
$ref: '#/components/schemas/DecisionsImageAsset'
11110-
description: 'Images keyed by reference string, as in TypeSafe''s API. Write a reference wherever the image belongs in `state`, `instructions`, or `criteria`; every asset must be referenced at least once. Jev reads a reference as a whole string value or inside longer text. Other Decisions models read a whole-string reference wherever they read an `image_url` part and reject a reference inside longer text.'
11111+
description: 'Images keyed by reference string, as in TypeSafe''s API. Write a reference wherever the image belongs in `state`, `instructions`, or `criteria`; every asset must be referenced at least once, or the request fails with `400` naming the unused key. TypeSafe Jev endpoints receive `assets` as written and read a reference as a whole string value or inside longer text. Every other provider has each whole-string reference resolved to an `image_url` part before the request is sent, so it is accepted only where that provider reads `image_url` parts (top-level `state` items), and a reference inside longer text fails with `400`. `image_url` parts and `assets` can be mixed in one request.'
1111111112
type: 'object'
1111211113
model:
1111311114
type: 'string'
@@ -36452,7 +36453,7 @@ paths:
3645236453
- 'Analytics'
3645336454
/api/alpha/decisions:
3645436455
post:
36455-
description: 'Submits a Decisions request to the Decisions router'
36456+
description: 'Asks a Decisions model typed questions (`noul`, `choice`, `score`, `box`) about the content in `state` and returns one typed answer per question with its probabilities. Images, audio and video go in `state` as `image_url`, `input_audio` and `video_url` parts; PNG and JPEG images can instead go once in `assets` and be referenced by key. Which question types, media parts and asset references an endpoint accepts depends on the provider; a request an endpoint cannot serve fails with `400` before anything is sent upstream. See the [Multimodal Decisions guide](/docs/guides/community/multimodal-decisions) for the per-provider table. Alpha: the shape may change.'
3645636457
operationId: 'createApiAlphaDecisions'
3645736458
requestBody:
3645836459
content:

0 commit comments

Comments
 (0)