GET
/v1/schemas/nvidia/chat/meta%2Fllama2-70b?kind=output
Accept:
Response body
6 properties · 3 required · 3 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | string | ||
| choices* | ChatCompletionResponseChoice[] | The list of completion choices the model generated for the input prompt. | |
| usage* | UsageInfo | Usage statistics for the completion request. | |
| id | string | A unique identifier for the completion. | |
| object | string | default: "chat.completion" | |
| created | integer |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"meta/llama2-70b","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}