# GET

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/p/[slugId]/[audienceSlug]/[documentSlug]/md/route.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/p/[slugId]/[audienceSlug]/[documentSlug]/md/route.ts#L9)

Same-origin per-page markdown twin: GET /p/<slug>/<audience>/<document>/md — the raw markdown
of a published page for agents / "View as Markdown". Proxies the API's urlId-keyed .md endpoint.

## Signature

```ts
async function GET(req: Request, ctx: { params: Promise<{ slugId: string; audienceSlug: string; documentSlug: string }> })
```

## Parameters

| Name | Type |
|---|---|
| `req` | `Request` |
| `ctx` | `{ params: Promise<{ slugId: string; audienceSlug: string; documentSlug: string }> }` |
