GET
/v1/schemas/nvidia/chat/bigcode%2Fstarcoder2-15b?kind=output
Accept:
Response body
6 properties · 3 required · 5 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | string | ||
| choices* | CompletionResponseChoice[] | ||
| usage* | UsageInfo | ||
| id | string | ||
| object | string | default: "text_completion" | |
| created | integer |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"bigcode/starcoder2-15b","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}