GET
/v1/schemas/cerebras/chat/v1%2Fchat%2Fcompletions?kind=output
Accept:
Response body
9 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | A unique identifier for the chat completion. | |
| choices | object[] | A list containing the chat completion choice. Cerebras currently supports `n: 1` only. | |
| created | integer | Unix timestamp (in seconds) of when the completion was created. | |
| model | string | The model used for the chat completion. | |
| object | enum | The object type. Always `chat.completion`. | chat.completion |
| system_fingerprint | string | A fingerprint for the model or backend used to generate the response. | |
| service_tier | enum | The effective service tier used to process the request. An `auto` request can return `auto` or `flex`, and a `priority` request can return `priority` or `auto`. The field may be omitted or `null` when the request uses default processing. | priority | default | auto | flex |
| usage | object | Usage statistics for the completion request. | |
| time_info | object | Performance timing information for the request. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"cerebras","endpointId":"v1/chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}