Skip to content

GET

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/app/p/[slugId]/llms.txt/route.ts

Slug-fronted, same-origin llms.txt for a published site: /p//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

NameType
reqRequest
ctx{ params: Promise<{ slugId: string }> }

Was this page helpful?

Download as PDF