GET

/v1/schemas/anthropic/chat/v1%2Fcomplete?kind=output

kind outputactivity chathash 4771fa4dextracted Jul 25, 2026version currentsource upstream spec ↗

Response body

5 properties · 5 required · 1 $defs
propertytypedescriptionconstraints
completion*stringThe resulting completion up to and excluding the stop sequences.
id*stringUnique object identifier.
model*stringThe model that will complete your prompt.17 known values
stop_reason*stringThe reason that we stopped. This may be one the following values: * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximumnullable
type*constObject type."completion" · default: "completion"

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"anthropic","endpointId":"v1/complete","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}