GET
/v1/schemas/azure/chat/completions?kind=output
Accept:
Response body
8 properties · 5 required · 15 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | A unique identifier for the completion. | |
| choices* | OpenAI.CreateCompletionResponseChoices[] | The list of completion choices the model generated for the input prompt. | |
| created* | integer | The Unix timestamp (in seconds) of when the completion was created. | format: unixtime |
| model* | string | The model used for completion. | |
| object* | enum | The object type, which is always "text_completion" | text_completion |
| system_fingerprint | string | This fingerprint represents the backend configuration that the model runs with. Can be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism. | |
| usage | OpenAI.CompletionUsage | Usage statistics for the completion request. | |
| prompt_filter_results | AzureContentFilterResultForPrompt[] |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"azure","endpointId":"completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}