---
title: "A published page as raw markdown"
method: GET
path: "/api/public/spaces/{id}/pages/{page_id}/md"
tags: ["public"]
---

# A published page as raw markdown

`GET /api/public/spaces/{id}/pages/{page_id}/md`

## Request

- Base URL: `https://telawiki.com`
- URL: `https://telawiki.com/api/public/spaces/{id}/pages/{page_id}/md`
- Auth: none required

The agent-friendly form of a public page: canonical frontmatter plus the body, no HTML to strip.

## Response `200`

Markdown.

## Other responses

- `400`: `invalid_id` — a path parameter was not a positive integer.
- `404`: `not_found` — no such published space. Private and non-existent are indistinguishable.
- `500`: `internal` — server error.

---

[API](https://skmtc.dev/telawiki/apis/tela-rest-api.md) · [All operations](https://skmtc.dev/telawiki/apis/tela-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/telawiki/apis/tela-rest-api/revisions/f316f31f6fcb?raw)
