> ## 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.

# InputsMessage - Python SDK

> InputsMessage method reference

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

An output message item

## Fields

| Field     | Type                                                                                           | Required             | Description                                                                                                                                                                                                                                                                                                                            |
| --------- | ---------------------------------------------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `content` | [Nullable\[components.InputsContent2\]](../components/inputscontent2.md)                       | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `id`      | *str*                                                                                          | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `phase`   | [OptionalNullable\[components.InputsPhaseUnion\]](../components/inputsphaseunion.md)           | :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.InputsRole](/client-sdks/python/api-reference/components/inputsrole)               | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `status`  | [Optional\[components.InputsStatusUnion1\]](../components/inputsstatusunion1.md)               | :heavy\_minus\_sign: | N/A                                                                                                                                                                                                                                                                                                                                    |
| `type`    | [components.InputsTypeMessage](/client-sdks/python/api-reference/components/inputstypemessage) | :heavy\_check\_mark: | N/A                                                                                                                                                                                                                                                                                                                                    |
