The ID of this item, or null for legacy user messages whose ID was not recorded.
The content of the message. User messages contain input text or images; assistant messages contain output text.
Text supplied by the user.
The text supplied by the user.
The type of the object. Always input_text.
input_text
An image supplied by the user.
The URL of the image supplied by the user, which may be a base64-encoded data URL.
The type of the object. Always input_image.
input_image
Text produced by the assistant.
The text produced by the assistant.
The type of the object. Always output_text.
output_text
The phase of an assistant message. Null for user messages.
Commentary produced while the agent works.
The agent’s final answer.
The role of the message author.
The status of the message. User messages are always completed.
completed
The ID of the turn that contains this item.
The item type. Always message.
message