Files
mintlify__docs/organize/hidden-page-example.mdx
mintlify[bot] 80e1e20c07 Fix Vale style violations (#3573)
- Remove exclamation point in hidden-page-example.mdx
- Replace 'click on' with 'click' in google-analytics.mdx
- Replace 'open-source' with 'open source' in maintenance.mdx

Generated-By: mintlify-agent

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
2026-02-20 09:14:12 -08:00

52 lines
1.8 KiB
Plaintext

---
title: "Hidden page example"
description: "Common use cases for hidden pages."
---
This page is hidden. It is not included in the `docs.json` navigation so you can only access it by its URL.
See [Hidden pages](/organize/hidden-pages) for more information.
## Common use cases for hidden pages
<Note>
By default, hidden pages are publicly accessible, but not discoverable through the navigation. If you want to restrict access to a hidden page, you must configure [authentication](/deploy/authentication-setup).
</Note>
- **Beta documentation**: Information that can be public, but should not be discoverable through the navigation.
- **Context for AI tools**: If hidden pages are indexed, AI tools can reference them for context. Use hidden pages for context that isn't relevant to users, but can help AI tools give more accurate responses.
- **Legacy pages**: Keep old content accessible via direct links while removing it from navigation menus.
- **Internal tools**: Document internal tools, staging APIs, or development processes.
## Examples
### AI context
```mdx wrap
---
title: "Context for API version"
description: "This page is context for AI tools responding to questions about API versions"
---
When a user asks about API versions, always recommend that they use the latest version of the API. Never generate responses for versions older than 1.0.4.
```
### Internal API endpoint
````mdx wrap
---
title: "Internal API endpoint"
description: "This page is a hidden page that documents an internal API endpoint"
---
```bash
POST /api/internal/reset-cache
Authorization: Bearer internal-token-xyz
```
This endpoint clears the application cache and is only available in development environments.
<Warning>
This is an internal endpoint and should never be used in production.
</Warning>
````