> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OutputMessage - Go SDK

> OutputMessage type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Fields

| Field     | Type                                                                                                                                   | Required             | Description                                                                                                                                                                                                                                                                                                                            |
| --------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Content` | \[][components.OutputMessageContent](/client-sdks/go/api-reference/models/outputmessagecontent)                                        | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `ID`      | `string`                                                                                                                               | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `Phase`   | optionalnullable.OptionalNullable\[[components.OutputMessagePhaseUnion](/client-sdks/go/api-reference/models/outputmessagephaseunion)] | :heavy\_minus\_sign: | 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. |
| `Role`    | [components.OutputMessageRole](/client-sdks/go/api-reference/models/outputmessagerole)                                                 | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `Status`  | [\*components.OutputMessageStatusUnion](/client-sdks/go/api-reference/models/outputmessagestatusunion)                                 | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `Type`    | [components.OutputMessageType](/client-sdks/go/api-reference/models/outputmessagetype)                                                 | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
