Learn AI Math

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?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.