GET
/v1/schemas/byteplus/chat/chat%2Fcompletions?kind=output
Accept:
Response body
7 properties · 6 required · 14 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | ||
| object* | string | ||
| created* | integer | ||
| model* | string | ||
| choices* | ChatCompletionChoice[] | ||
| usage* | Usage | ||
| service_tier | string | mark the request is scale-tier or default, only exists for scale-tier |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"byteplus","endpointId":"chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}