Skip to main content

An output item from the response

content
object[]
required

The message's content parts: output text and refusals.

Example:
id
string
required

Id of this output message.

role
enum<string>
required

One of "assistant".

Available options:
assistant
type
enum<string>
required

One of "message".

Available options:
message
phase

The phase of an assistant message. Use commentary for an intermediate assistant message and final_answer for the final assistant message. For follow-up requests with models like gpt-5.3-codex and later, preserve and resend phase on all assistant messages. Omitting it can degrade performance. Not used for user messages.

Available options:
commentary
status

Status of this output message.

Available options:
completed