GET

/v1/schemas/baseten/chat/v1%2Fchat%2Fcompletions?kind=output

kind outputactivity chathash 71693671…extracted Oct 28, 2026version currentsource upstream spec ↗

Response body

6 properties · 2 required · 10 $defs
propertytypedescriptionconstraints
model*stringThe model used for the completion.
choices*ChatCompletionResponseStreamChoice[]A list of chat completion choices.
idstringA unique identifier for the chat completion.
objectconstThe object type, always `chat.completion` or `chat.completion.chunk` for streaming."chat.completion.chunk" · default: "chat.completion.chunk"
createdintegerThe Unix timestamp (in seconds) of when the completion was created.
usageUsageInfoToken usage statistics for the request. Only present when streaming with `stream_options.include_usage: true`.

Validate a payload

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