GET
/v1/schemas/fal/chat/openrouter%2Frouter%2Fenterprise
Accept:
Request body
6 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Prompt to be used for the chat completion | |
| model* | string | Name of the model to use. Charged based on actual token usage. | |
| system_prompt | string | System prompt to provide context or instructions to the model | nullable |
| max_tokens | integer | This sets the upper limit for the number of tokens the model can generate in response. It won't produce more than this limit. The maximum value is the context length minus the prompt length. | n ≥ 1 · nullable |
| reasoning | boolean | Should reasoning be the part of the final answer. | default: false |
| temperature | number | This setting influences the variety in the model's responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input. | 0 ≤ n ≤ 2 · default: 1 |
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", …}]}