---
title: "List pages"
method: GET
path: "/api/pages"
tags: ["Pages"]
---

# List pages

`GET /api/pages`

Returns pages WITHOUT the heavy `body` (the full HTML/JSON document) and `passwordHash` by default — list views never render the body. Pass `fields=full` to restore `body`. Fetch a full page via `GET /api/pages/{id}`.

## Query parameters

- `agentId` string
- `key` string — Non-unique asset directory namespace (for example shared/ or personal/<user-id>/drafts/). Runtime write boundaries normalize and validate the canonical form.
- `keyPrefix` string — Non-unique asset directory namespace (for example shared/ or personal/<user-id>/drafts/). Runtime write boundaries normalize and validate the canonical form.
- `limit` integer
- `offset` integer, nullable
- `fields` 'full' | 'slim'

## Response `200`

Page list with totals + share-URL pointers

## Changes

- **2026-07-11** `f1022d5edb0d` — 2 info
  - added the new optional `query` request parameter `key`
  - added the new optional `query` request parameter `keyPrefix`
- **2026-07-02** `0c910612f9ac` — 2 warning
  - deleted the `query` request parameter `key`
  - deleted the `query` request parameter `keyPrefix`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/pages/get.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-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/92a1dcbd2fc7/schema)
