GET

/v1/schemas/openai/chat/completions?kind=output

kind outputactivity chathash 564bda23extracted Jul 16, 2026version currentsource upstream spec ↗

Response body

7 properties · 5 required · 1 $defs
propertytypedescriptionconstraints
id*stringA unique identifier for the completion.
choices*object[]The list of completion choices the model generated for the input prompt.
created*integerThe Unix timestamp (in seconds) of when the completion was created.format: unixtime
model*stringThe model used for completion.
object*enumThe object type, which is always "text_completion"text_completion
system_fingerprintstringThis fingerprint represents the backend configuration that the model runs with.
usageCompletionUsageUsage statistics for the completion request.

Validate a payload

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