GET

/v1/schemas/zai/chat/paas%2Fv4%2Fchat%2Fcompletions?kind=output

kind outputactivity chathash c796dfe5…extracted Oct 11, 2026version currentsource upstream spec ↗

Response body

7 properties · 0 required · 3 $defs
propertytypedescriptionconstraints
idstringTask ID
request_idstringRequest ID
createdintegerRequest creation time, Unix timestamp in seconds
modelstringModel name
choicesobject[]List of model responses
usageobjectToken usage statistics returned when the model call ends.
web_searchWebSearchObjectResponse[]Search results.

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"zai","endpointId":"paas/v4/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}