---
title: "Decode a realtime room snapshot"
method: POST
path: "/api/rooms/decode"
tags: ["Rooms"]
---

# Decode a realtime room snapshot

`POST /api/rooms/decode`

## Request body

- object
  - `value` unknown

## Response `200`

Decoded room state

- object
  - `schemaVersion` integer, required
  - `generation` string, required
  - `state` unknown

## Other responses

- `400` — Invalid room snapshot
- `413` — Request body exceeds the room body limit

## Changes

- **2026-09-09** `0fb94560f8db` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/rooms/decode/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/01e2386c97da?raw)
