---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_responses/types/interfaces/OpenAIResponsesMessageItem.md
description: >-
  An input message item — the leading-content-channel item shape (`role:
  'user'`, or the leading `developer`/`system`-role item rendered when
  `systemPromptChannel` is not `'instructions'`, or a trailing after-timeline
  bucket message), plus a peer-identity assistant timeline turn rendered as a
  plain input message rather than the full output-item shape.
---

# Interface: OpenAIResponsesMessageItem

Defined in: [src/batteries/llm/openai\_responses/types.ts:108](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_responses/types.ts#L108)

An input message item — the leading-content-channel item shape (`role: 'user'`, or the leading
`developer`/`system`-role item rendered when `systemPromptChannel` is not `'instructions'`, or a
trailing after-timeline bucket message), plus a peer-identity assistant timeline turn rendered as
a plain input message rather than the full output-item shape.

## Remarks

`role: 'assistant'` is included — the wire's shorthand `EasyInputMessage` form accepts it for a
plain, non-native-output assistant turn (distinct from [OpenAIResponsesOutputMessageItem](OpenAIResponsesOutputMessageItem.md),
which is the full native-output shape used only when replaying the model's OWN prior turn).

## Properties

| Property                                | Type                                                                                        | Description                                                                         | Defined in                                                                                                                                              |
| --------------------------------------- | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `content` | [`OpenAIResponsesInputContentBlock`](../type-aliases/OpenAIResponsesInputContentBlock.md)\[] | Content blocks.                                                                     | [src/batteries/llm/openai\_responses/types.ts:114](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_responses/types.ts#L114) |
|  `id?`          | `string`                                                                                    | Optional item id.                                                                   | [src/batteries/llm/openai\_responses/types.ts:116](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_responses/types.ts#L116) |
|  `role`       | `"user"` | `"assistant"` | `"system"` | `"developer"`                                    | The message's role.                                                                 | [src/batteries/llm/openai\_responses/types.ts:112](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_responses/types.ts#L112) |
|  `type?`      | `"message"`                                                                                 | Item discriminator. Optional on input items per the wire (defaults to `'message'`). | [src/batteries/llm/openai\_responses/types.ts:110](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_responses/types.ts#L110) |
