GET
/v1/schemas/together/chat/v1%2Fcompletions?kind=output
Accept:
Response body
7 properties · 7 required · 6 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | ||
| choices* | object[] | ||
| prompt* | object[] | When `echo` is true, the prompt is included in the response. Additionally, when `logprobs` is also provided, log probability information is provided on the prompt. | |
| usage* | UsageData | ||
| created* | integer | ||
| model* | string | ||
| object* | const | The object type, which is always `text.completion`. | "text.completion" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"together","endpointId":"v1/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}