GET

/v1/schemas/fal/chat/openrouter/router?kind=output

kind outputactivity chathash 0b9fd1e6…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
5b8b68ff0919f7e77478ea5b03f7728762ed7e76822b6bf45e1d1c9334f7a962
{
  "fetchedAt": 1783328807,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

5 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
output*stringGenerated output
partialbooleanWhether the output is partialdefault: false
errorstringError message if an error occurrednullable
usageUsageInfoToken usage informationnullable
reasoningstringGenerated reasoning for the final answernullable

Types

2 $defs

PromptTokensDetailsobject

cached_tokensintegerdefault: 0
cache_write_tokensintegerdefault: 0

UsageInfoobject

prompt_tokens_detailsPromptTokensDetailsnullable
cost*number
completion_tokensintegernullable
total_tokensintegerdefault: 0
prompt_tokensintegernullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"openrouter/router","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}