GET

/v1/schemas/anthropic/chat/v1/complete

kind inputactivity chathash 532673b8…extracted Oct 15, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
05e92b686382eeac1d8070f9f2aaf5fa8180e804b1b9fa1f498b70a0325b898c
{
  "fetchedAt": 1792041619,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

9 properties · 3 required · 2 $defs
propertytypedescriptionconstraints
model*stringThe model that will complete your prompt.20 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.

Types

2 $defs

Metadataobject

user_idstringAn external identifier for the user who is associated with the request. This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number.length ≤ 512 · nullable

Modelstring

The model that will complete your prompt.

20 known values

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