GET

/v1/schemas/nvidia/chat/z-ai/glm-5.3?kind=output

kind outputactivity chathash bfdb66bc…extracted Oct 9, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
9f3518f0d3866da71d927164e77814959259e6219268e814a2d39ffcab0e5484
{
  "fetchedAt": 1791535404,
  "extractorVersion": "1",
  "verifiedAt": null
}

Response body

6 properties · 3 required · 3 $defs
propertytypedescriptionconstraints
model*string
choices*ChatCompletionResponseChoice[]The list of completion choices the model generated for the input prompt.
usage*UsageInfoUsage statistics for the completion request.
idstringA unique identifier for the completion.
objectstringdefault: "chat.completion"
createdinteger

Types

3 $defs

ChatCompletionResponseChoiceobject

index*integerThe index of the choice in the list of choices (always 0).
message*ChatMessageA chat completion message generated by the model.
finish_reasonenumThe reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence, or `length` if the maximum number of tokens specified in the request was reached. Will be `null` if the model has not finishedstop | length · nullable

ChatMessageobject

role*stringThe role of the message author.
content*stringThe contents of the message.

UsageInfoobject

prompt_tokensintegerNumber of tokens in the prompt.default: 0
total_tokensintegerTotal number of tokens used in the request (prompt + completion).default: 0
completion_tokensintegerNumber of tokens in the generated completion.nullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"nvidia","endpointId":"z-ai/glm-5.3","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}