GET

/v1/schemas/replicate/chat/models/meta/llama-4-maverick-instruct/predictions

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

upstream-spec

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

Request body

4 properties · 1 required · 1 $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

1 $defs

Inputobject

top_kintegerThe number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).default: 50
top_pnumberA probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).default: 0.9
promptstringPromptdefault: ""
max_tokensintegerThe maximum number of tokens the model should generate as output.0 ≤ n ≤ 131072 · default: 4096
min_tokensintegerThe minimum number of tokens the model should generate as output.default: 0
temperaturenumberThe value used to modulate the next token probabilities.default: 0.6
system_promptstringSystem prompt to send to the model. This is prepended to the prompt and helps guide system behavior. Ignored for non-chat models.default: "You are a helpful assistant."
stop_sequencesstringA comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'.default: ""
prompt_templatestringA template to format the prompt with. If not provided, the default prompt template will be used.default: ""
presence_penaltynumberPresence penaltydefault: 0
frequency_penaltynumberFrequency penaltydefault: 0

Validate a payload

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