Skip to content

Document RFC 9727 API catalog discovery endpoint#5291

Merged
kafkas merged 3 commits intomainfrom
devin/1777630596-api-catalog-docs
May 1, 2026
Merged

Document RFC 9727 API catalog discovery endpoint#5291
kafkas merged 3 commits intomainfrom
devin/1777630596-api-catalog-docs

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Summary

Documents the RFC 9727 /.well-known/api-catalog discovery endpoint and Link response headers added in fern-platform#10044.

Changes:

  • New page at fern/products/docs/pages/ai/api-catalog.mdx covering how the feature works, the Linkset response format, and how to test it
  • Added navigation entry under AI features (after MCP server)
  • Added card to the AI features overview "Optimize for AI" section
  • Added changelog entry for 2026-05-01

Review & Testing Checklist for Human

  • Verify the new page renders correctly at /learn/docs/ai-features/api-catalog in the preview deployment
  • Confirm the changelog entry appears on the changelog page

Notes

Kept the page concise since this is a small, zero-config feature. The RFC acronym Vale suggestion is intentionally left as-is — RFC is widely understood and used throughout the docs without definition.

Link to Devin session: https://app.devin.ai/sessions/67ec4e09ff754ba5a9f7486df2f94d88
Requested by: @kafkas

Co-Authored-By: Anar Kafkas <anarkafkas@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

description: Fern docs sites expose a standards-based API catalog endpoint so AI agents, MCP clients, and API catalog crawlers can discover your APIs automatically.
---

Fern docs sites implement [RFC 9727](https://www.rfc-editor.org/rfc/rfc9727) to let AI agents, MCP clients, and API catalog crawlers discover your APIs without scraping HTML. Every docs site automatically serves a `/.well-known/api-catalog` endpoint and advertises it via a [`Link`](https://www.rfc-editor.org/rfc/rfc8288) response header on every page.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'RFC' has no definition.

Link: </.well-known/api-catalog>; rel="api-catalog"
```

A `GET` or `HEAD` request to `/.well-known/api-catalog` returns an [RFC 9264](https://www.rfc-editor.org/rfc/rfc9264) Linkset document (`application/linkset+json`) listing each visible API. Each entry contains:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'RFC' has no definition.


## API catalog discovery

Your docs site exposes an [RFC 9727](https://www.rfc-editor.org/rfc/rfc9727) `/.well-known/api-catalog` endpoint and advertises it via `Link` response headers, enabling AI agents, MCP clients, and API catalog crawlers to discover your APIs automatically. The catalog is generated from your visible API Reference navigation and requires no configuration.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'RFC' has no definition.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

devin-ai-integration Bot and others added 2 commits May 1, 2026 10:38
description: Fern docs sites expose a standards-based API catalog endpoint so AI agents, MCP clients, and API catalog crawlers can discover your APIs automatically.
---

Fern Docs sites implement [RFC 9727](https://www.rfc-editor.org/rfc/rfc9727) to let AI agents, MCP clients, and API catalog crawlers discover your APIs without scraping HTML. The catalog is generated from your visible [API Reference](/learn/docs/api-references/overview) navigation and advertised on every page via a [`Link`](https://www.rfc-editor.org/rfc/rfc8288) response header — no configuration required. References hidden via `hidden: true` (or with all endpoints hidden) are excluded.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'RFC' has no definition.


## API catalog discovery

AI agents, MCP clients, and API catalog crawlers can now discover your APIs automatically. Every Fern Docs site exposes a standards-based ([RFC 9727](https://www.rfc-editor.org/rfc/rfc9727)) `/.well-known/api-catalog` endpoint generated from your visible API Reference navigation.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [vale] reported by reviewdog 🐶
[FernStyles.Current] Avoid time-relative terms like 'now' that become outdated


## API catalog discovery

AI agents, MCP clients, and API catalog crawlers can now discover your APIs automatically. Every Fern Docs site exposes a standards-based ([RFC 9727](https://www.rfc-editor.org/rfc/rfc9727)) `/.well-known/api-catalog` endpoint generated from your visible API Reference navigation.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[FernStyles.Acronyms] 'RFC' has no definition.

@kafkas kafkas merged commit 10baadc into main May 1, 2026
2 checks passed
@kafkas kafkas deleted the devin/1777630596-api-catalog-docs branch May 1, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants