GET
/v1/schemas/llmgateway/chat/v1%2Fchat%2Fcompletions?kind=output
Accept:
Response body
7 properties · 7 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | ||
| object* | string | ||
| created* | number | ||
| model* | string | ||
| choices* | object[] | ||
| usage* | object | ||
| metadata* | object |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"llmgateway","endpointId":"v1/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}