id: str

The unique ID of the message input.

A list of one or many input items to the model, containing different content types.

role: Literal["user", "system", "developer"]

The role of the message input. One of user, system, or developer.

One of the following:
"user"
"system"
"developer"
type: Literal["message"]

The type of the message input. Always set to message.

agent: Optional[Agent]

The agent that produced this item.

agent_name: str

The canonical name of the agent that produced this item.

status: Optional[Literal["in_progress", "completed", "incomplete"]]

The status of item. One of in_progress, completed, or incomplete. Populated when items are returned via API.

One of the following:
"in_progress"
"completed"
"incomplete"