# GET

**Kind:** Function

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

Slug-fronted, same-origin llms.txt for a published site: /p/<slug>/llms.txt —
the discoverable agent-native index (Mintlify/GitBook parity). Proxies the API's
urlId-keyed generator so crawlers/agents never touch the internal projectId/API origin.

## Signature

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

## Parameters

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