GET

/v1/schemas/grok/chat/v1%2Fcompletions?kind=output

kind outputactivity chathash c15fdd0bextracted Jul 6, 2026version currentsource upstream spec ↗

Response body

7 properties · 5 required · 4 $defs
propertytypedescriptionconstraints
choices*SampleChoice[]A list of response choices from the model. The length corresponds to the `n` in request body (default to 1).
created*integerThe chat completion creation time in Unix timestamp.format: int64
id*stringID of the request.
model*stringModel to be used.
object*stringObject type of the response. This is always `"text_completion"`.
system_fingerprintanySystem fingerprint, used to indicate xAI system configuration changes.
usageUsageToken usage information.nullable

Validate a payload

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