GET
/v1/schemas/fireworks/chat/v1%2Fcompletions?kind=output
Accept:
Response body
7 properties · 5 required · 9 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | A unique identifier of the response | |
| created* | integer | The Unix time in seconds when the response was generated | |
| model* | string | The model used for the completion | |
| choices* | Choice[] | The list of generated completion choices | |
| usage* | UsageInfo | Usage statistics for the completion | |
| object | string | The object type, which is always "text_completion" | default: "text_completion" |
| perf_metrics | object | See parameter [perf_metrics_in_response](#body-perf-metrics-in-response) | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fireworks","endpointId":"v1/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}