---
title: "Page metadata + body as JSON (used by SPA renderer)"
method: GET
path: "/p/{id}.json"
tags: ["Pages"]
---

# Page metadata + body as JSON (used by SPA renderer)

`GET /p/{id}.json`

## Path parameters

- `id` string, required

## Response `200`

Page JSON

- object
  - `id` string, required
  - `title` string, required
  - `description` string
  - `contentType` 'text/html' | 'application/json', required
  - `authMode` 'public' | 'authed' | 'password', required
  - `body` string, required
  - `version` 1, required

## Other responses

- `401` — Page requires an authenticated session
- `403` — Cookie does not match this page id
- `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/versions/e2028c1ef6f5/schema)
