GET
/v1/schemas/fal/chat/openrouter/router/enterprise?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source trace20b03256d188f0de59d61735c30914bce9d62dbabbec3d56f64368d5b6aadc0d{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
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 |
Types
2 $defsPromptTokensDetailsobject
| cached_tokens | integer | default: 0 | |
| cache_write_tokens | integer | default: 0 |
UsageInfoobject
| prompt_tokens_details | PromptTokensDetails | nullable | |
| cost* | number | ||
| completion_tokens | integer | nullable | |
| total_tokens | integer | default: 0 | |
| prompt_tokens | integer | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"openrouter/router/enterprise","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}