The content of the message
A text output from the model.
The annotations of the text output.
A citation for a web resource used to generate a model response.
An image input to the model. Learn about image inputs.
A screenshot of a computer.
A file input to the model.
The detail level of the file to be sent to the model. Use auto to let the system select the detail level; for GPT-5.6 and later models, auto uses high-quality rendering, which may increase input token usage. Use low for lower-cost rendering, or high to render the file at higher quality. Defaults to auto.
The role of the message. One of unknown, user, assistant, system, critic, discriminator, developer, or tool.
The status of item. One of in_progress, completed, or incomplete. Populated when items are returned via API.
Labels an assistant message as intermediate commentary (commentary) or the final answer (final_answer). For models like gpt-5.3-codex and beyond, when sending follow-up requests, preserve and resend phase on all assistant messages — dropping it can degrade performance. Not used for user messages.