---
title: "Render a page (HTML inline; JSON redirects to SPA)"
method: GET
path: "/p/{id}"
tags: ["Pages"]
---

# Render a page (HTML inline; JSON redirects to SPA)

`GET /p/{id}`

## Path parameters

- `id` string, required

## Response `200`

Rendered HTML page

## Other responses

- `302` — Redirect to SPA for JSON content
- `401` — Page requires an authenticated session
- `403` — Cookie does not match this page id
- `404` — Page not found

## Changes

- **2026-08-07** `06cac6a7c5bc` — 3 info
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `404`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/p/:id/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/8cde933218b5/schema)
