TruboRankAI AI Visibility Infrastructure
AI Search & Visibility

rel="service-doc" Explained

The service-doc relation can expose machine-readable documentation through HTTP headers.

Quick Answer

rel="service-doc" is a Link relation that can point clients to documentation or guidance resources for a service or website.

AI Summary

Using rel="service-doc" in Link headers can help crawlers discover llms.txt, documentation, or AI guidance resources earlier in the fetch process.

Main Explanation

HTTP Link headers are sent before the HTML body is parsed. That makes them useful for discovery infrastructure.

For AI-focused websites, service-doc can point to llms.txt or related documentation.

Practical Steps

  • Choose a public documentation URL.
  • Add a Link header with rel="service-doc".
  • Include the correct content type.
  • Test with curl -I.

FAQ

Is service-doc required?

No. It is an optional discovery signal.

Can it point to llms.txt?

Yes, if that is your service documentation resource.

How do I test it?

Run curl -I https://example.com and inspect Link headers.

Editorial methodology

TruboRankAI publishes practical guidance from observable website signals, reproducible checks, and cited primary or first-party references when platform behavior or measured claims can change. Crawler access, indexing, search visibility, mentions, citations, referral visits, and conversions are treated as separate signals. Readers should verify time-sensitive settings and policies against the linked official documentation.

Related internal links