# Does the system message gets updated? RealtimeAPI

**URL:** <https://community.openai.com/t/does-the-system-message-gets-updated-realtimeapi/1140590>\
**Category:** API\
**Tags:** api, realtime\
**Created:** [March 11, 2025, 12:52pm UTC](https://community.openai.com/t/does-the-system-message-gets-updated-realtimeapi/1140590 "2025-03-11T12:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjamin.bascary](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/benjamin.bascary/32/293570_2.png) [@benjamin.bascary](https://community.openai.com/u/benjamin.bascary)\
**Post date:** [March 11, 2025, 12:52pm UTC](https://community.openai.com/t/does-the-system-message-gets-updated-realtimeapi/1140590/1 "2025-03-11T12:52:24Z")

</div>

Because the realtime api does not have a mechanism to access the historic messages for a session, I want to know if I send a new system message, the system message in question gets updated or I am appending a new one, that would cause hallucination? The use case is the following: I have a foreign language coach that teaches the user languages and the user, in the middle of the conversation can change the proficiency level (begginer, intermediate, advanced) that changes a variable in the system message and sends it again as:

```auto
socket.data.openAiWs.send(
      JSON.stringify({
        type: 'conversation.item.create',
        item: {
          type: 'message',
          role: 'system',
          content: [
            {
              type: 'input_text',
              text,
            },
          ],
        },
      })
    );

```

Is this updating the system message or appending a new system message?
