---
title: "List version snapshots for a page"
method: GET
path: "/api/pages/{id}/versions"
tags: ["Pages"]
---

# List version snapshots for a page

`GET /api/pages/{id}/versions`

## Path parameters

- `id` string, required

## Response `200`

Version list (newest first)

- object
  - `versions` PageVersion[], required
    - `id` string, required
    - `pageId` string, required
    - `version` integer, required
    - `snapshot` PageSnapshot, required
      - `title` string, required
      - `description` string
      - `contentType` 'text/html' | 'application/json', required
      - `authMode` 'public' | 'authed' | 'password', required
      - `passwordHash` string
      - `body` string, required
      - `needsCredentials` string[]
    - `changedByAgentId` string
    - `createdAt` string, required

## Other responses

- `404` — Page not found

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/db1079e034dc/schema)
