An output message from the model.

interface ResponseOutputMessage {
    content: (ResponseOutputRefusal | ResponseOutputText)[];
    id: string;
    role: "assistant";
    status: "in_progress" | "completed" | "incomplete";
    type: "message";
}

Properties

The content of the output message.

id: string

The unique ID of the output message.

role: "assistant"

The role of the output message. Always assistant.

status: "in_progress" | "completed" | "incomplete"

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

type: "message"

The type of the output message. Always message.