GET
/v1/schemas/fal/chat/openrouter%2Frouter%2Fdecisions
Accept:
Request body
6 properties · 2 required · 4 $defs| property | type | description | constraints |
|---|---|---|---|
| state* | string | object | any[] | Text, structured JSON, or an array mixing text strings with OpenRouter media parts: image_url, input_audio, and video_url. Images and videos use base64 data URLs; input_audio uses raw base64 data and a format. Media support and limits depend on the selected De… | |
| questions* | object | Questions keyed by caller-defined IDs. Each question is evaluated independently against the same state. | |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| session_id | string | Identifier for grouping related decision requests. | length ≤ 256 · nullable |
| image_urls | string[] | Optional image URLs or base64 image data URLs appended to state. Public images are downloaded and encoded inline for OpenRouter. Inline images are limited to 16 MiB per image. Up to 128 convenience images and 32 MiB of total encoded image data (including data URL metadata) are allowed per request. The selected Decisions model must support images. | nullable |
| model | string | Any OpenRouter Decisions model ID or alias. Choose a model that supports the supplied input modalities. | default: "typesafe/jev-1.13" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"openrouter/router/decisions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}