GET

/v1/schemas/replicate/chat/models/anthropic/claude-sonnet-5/predictions

kind inputactivity chathash cd6e3bec…extracted Oct 7, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
daf5da8c3e7bb8c0f8b521796860852f670bc12af81441637557bd5a57a79426
{
  "fetchedAt": 1791350061,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

4 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
input*Input
streamboolean**This field is deprecated.**
webhookstringAn HTTPS URL for receiving a webhook when the prediction has new output. The webhook will be a POST request where the request body is the same as the response body of the [get prediction](#predictions.get) operation. If there are network problems, we will retr…
webhook_events_filterenum[]By default, we will send requests to your webhook URL whenever there are new outputs or the prediction has finished. You can change which events trigger webhook requests by specifying `webhook_events_filter` in the prediction request:

Types

2 $defs

effortenum

An enumeration.

low | medium | high | xhigh | max

Inputobject

imagestringOptional input image. Images are priced as (width px * height px)/750 input tokensformat: uri · default: null
effortenumAn enumeration.low | medium | high | xhigh | max
prompt*stringInput prompt
max_tokensintegerMaximum number of output tokens1024 ≤ n ≤ 64000 · default: 8192
system_promptstringSystem promptdefault: ""
max_image_resolutionnumberMaximum image resolution in megapixels. Scales down image before sending it to Claude, to save time and money.0.001 ≤ n ≤ 2 · default: 0.5

Validate a payload

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