> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OutputMessage

## Example Usage

```typescript theme={null}
import { OutputMessage } from "@openrouter/sdk/models";

let value: OutputMessage = {
  content: [
    {
      text: "Hello! How can I help you today?",
      type: "output_text",
    },
  ],
  id: "msg-abc123",
  role: "assistant",
  type: "message",
};
```

## Fields

| Field     | Type                                                        | Required             | Description                                                                                                                                                                                                                                                                                                                            |
| --------- | ----------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `content` | *models.OutputMessageContent*\[]                            | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `id`      | *string*                                                    | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `phase`   | *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`    | [models.OutputMessageRole](../models/outputmessagerole.mdx) | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `status`  | *models.OutputMessageStatusUnion*                           | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `type`    | [models.OutputMessageType](../models/outputmessagetype.mdx) | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
