GET

/v1/schemas/anthropic/chat/v1%2Fcomplete

kind inputactivity chathash da751109extracted Jul 25, 2026version currentsource upstream spec ↗

Request body

9 properties · 3 required · 2 $defs
propertytypedescriptionconstraints
model*stringThe model that will complete your prompt.17 known values
prompt*stringThe prompt that you want Claude to complete.length ≥ 1
max_tokens_to_sample*integerThe maximum number of tokens to generate before stopping.n ≥ 1
stop_sequencesstring[]Sequences that will cause the model to stop generating.
temperaturenumberAmount of randomness injected into the response.0 ≤ n ≤ 1 · deprecated
top_pnumberUse nucleus sampling.0 ≤ n ≤ 1 · deprecated
top_kintegerOnly sample from the top K options for each subsequent token.n ≥ 0 · deprecated
metadataMetadataAn object describing metadata about the request.
streambooleanWhether to incrementally stream the response using server-sent events.

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", …}]}