Request Payload
What is Request Payload?
In one sentence: A request payload is the data you send in an API request, like your prompt, model choice and settings.
For AI APIs, it is usually JSON with the messages, the model name and options like temperature or max tokens.
What does Request Payload look like?
{"model": "small-model", "messages": [{"role": "user", "content": "Hi"}]} is a request payload.
Why does Request Payload matter?
The payload decides exactly what the model receives and how it should answer.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/request-payload/">Request Payload, explained simply</a> (The AI Math Dictionary)