GET
/v1/schemas/meta/chat/v1%2Fchat%2Fcompletions?kind=output
Accept:
Response body
8 properties · 5 required · 5 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | Identifier for this chat completion. | |
| choices* | object[] | List of completion choices. Only one choice is returned; n greater than 1 returns HTTP 400. | |
| created* | integer | Unix timestamp, in seconds, when the chat completion was created. | |
| model* | string | ID of the model that generated the completion. | |
| object* | enum | Object type; always chat.completion. | chat.completion |
| service_tier | enum | auto | default | flex | scale | priority · nullable | |
| system_fingerprint | string | Deprecated. Identifies the backend configuration the model ran with, for use with seed to detect determinism-affecting changes. Not currently populated. | |
| usage | completion-usage |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"meta","endpointId":"v1/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}