GET
/v1/schemas/openrouter/chat/chat%2Fcompletions?kind=output
Accept:
Response body
11 properties · 6 required · 47 $defs| property | type | description | constraints |
|---|---|---|---|
| choices* | ChatChoice[] | List of completion choices | |
| created* | integer | Unix timestamp of creation | |
| id* | string | Unique completion identifier | |
| model* | string | Model used for completion | |
| object* | enum | chat.completion | |
| system_fingerprint* | any | System fingerprint | |
| alignment | Alignment | Beta. The result of the alignment plugin for this request; the shape may change. | |
| openrouter_metadata | OpenRouterMetadata | ||
| safeguard_results | ArmorSafeguardResult[] | OpenRouter Armor's verdict for each client tool call of this response, present whenever Armor evaluated the response (even when nothing was flagged). Independent of the `openrouter_metadata` opt-in. | |
| service_tier | any | The service tier used by the upstream provider for this request | |
| usage | ChatUsage | Token usage statistics |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"openrouter","endpointId":"chat/completions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}