---
title: "Changes to Get session messages"
method: GET
path: "/api/session/{sessionID}/message"
---

# Changes to Get session messages

`GET /api/session/{sessionID}/message`

> Every recorded change to this operation, newest first.
> 51 revisions in range; 1 not diffed.

## Timeline

Changed in 5 of 51 revisions.

- **2026-10-24** `1c30ec162e7f`: 1 warning
- **2026-10-24** `231ec98d2d97`: 1 info
- **2026-10-21** `7709eeb4cfb8`: 5 info
- **2026-10-20** `7d8042ed3561`: 2 breaking, 7 warning, 5 info
- **2026-10-18** `bd54f9f2dbf5`: 1 info

## Changes

- **2026-10-24** `1c30ec162e7f`: 1 warning
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/allowance` from the response with the `200` status
- **2026-10-24** `231ec98d2d97`: 1 info
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/allowance` to the response with the `200` status
- **2026-10-21** `7709eeb4cfb8`: 5 info
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Tool]/state/anyOf[#/components/schemas/Session.Message.ToolState.Error]/error/retryAfterMs` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/error/retryAfterMs` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/retry/error/retryAfterMs` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Compaction]/anyOf[#/components/schemas/Session.Message.Compaction.Failed]/error/retryAfterMs` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Idle]/error/retryAfterMs` to the response with the `200` status
- **2026-10-20** `7d8042ed3561`: 2 breaking, 7 warning, 5 info
  - removed the required property `data/items/anyOf[#/components/schemas/Session.Message.Compaction]/anyOf[#/components/schemas/Session.Message.Compaction.Completed]/recent` from the response with the `200` status
  - removed the required property `data/items/anyOf[#/components/schemas/Session.Message.Compaction]/anyOf[#/components/schemas/Session.Message.Compaction.Running]/recent` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Reasoning]/state` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Text]/state` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Tool]/providerResultState` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Tool]/providerState` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/providerState` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Compaction]/anyOf[#/components/schemas/Session.Message.Compaction.Completed]/providerContext` from the response with the `200` status
  - removed the optional property `data/items/anyOf[#/components/schemas/Session.Message.Compaction]/anyOf[#/components/schemas/Session.Message.Compaction.Completed]/providerState` from the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Reasoning]/native` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Text]/native` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/content/items/anyOf[#/components/schemas/Session.Message.Assistant.Tool]/native` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Assistant]/native` to the response with the `200` status
  - added the optional property `data/items/anyOf[#/components/schemas/Session.Message.Compaction]/anyOf[#/components/schemas/Session.Message.Compaction.Completed]/native` to the response with the `200` status
- **2026-10-18** `bd54f9f2dbf5`: 1 info
  - added the enum value `idle` to the property `anyOf[subschema #1]/` of the `query` request parameter `type`

---

[Operation](https://skmtc.dev/kaaass/apis/opencode/docs/api/session/:sessionID/message/get.md) - [API](https://skmtc.dev/kaaass/apis/opencode.md) - [Page](https://skmtc.dev/kaaass/apis/opencode/changes/api/session/:sessionID/message/get)
