GET
/v1/schemas/fal/chat/openrouter%2Frouter?kind=output
Accept:
Response body
5 properties · 1 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| output* | string | Generated output | |
| partial | boolean | Whether the output is partial | default: false |
| error | string | Error message if an error occurred | nullable |
| usage | UsageInfo | Token usage information | nullable |
| reasoning | string | Generated reasoning for the final answer | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"openrouter/router","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}