For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Getting started
    • Overview
    • How it works
    • Quickstart
    • Project structure
    • Customer showcase
    • Changelog
  • Configuration
    • Overview
    • Site-level settings
    • Page-level settings
  • Writing content
    • Markdown basics
    • Rich media in Markdown
    • Fern Editor
    • Reusable snippets
  • AI features
    • Overview
    • Fern Writer
    • AI-generated examples
    • Markdown access
      • Overview
      • Customize LLM output
      • Agent directives
      • Analytics and integration
    • MCP server
    • API catalog discovery
      • Overview
        • Overview
          • POSTCreate Document
          • POSTBatch Create Document
          • GETGet Document By Id
          • PATCHUpdate Document
          • DELDelete Document By Id
          • DELBatch Delete Document
          • GETGet Documents
          • DELDelete All Documents
  • Public API
    • GETJWT from Fern API key
    • GETAlgolia search credentials
    • GETCurrent user information
  • Fern Writer API
    • GETGet Fern Writer Install Link
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free
AI featuresAsk FernAPI referenceDocument

Get Documents

||View as Markdown|
GET
/document/:domain
GET
/document/:domain
$curl https://fai.buildwithfern.com/document/domain \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "documents": [
3 {
4 "document_id": "d3f9a7b2-8c4e-4f1a-9b2e-5a7c3d9e8f12",
5 "domain": "example.com",
6 "chunk": "Introduction to the product features and benefits.",
7 "document": "This document provides an overview of the key features and benefits of our software product, including installation instructions and usage guidelines.",
8 "created_at": "2024-01-15T09:30:00Z",
9 "updated_at": "2024-01-15T09:30:00Z",
10 "title": "Product Overview",
11 "url": "https://example.com/docs/product-overview",
12 "version": "1.2.0",
13 "product": "Example Software Suite",
14 "keywords": [
15 "product",
16 "overview",
17 "features",
18 "installation"
19 ],
20 "authed": false
21 }
22 ],
23 "pagination": {
24 "total": 1,
25 "page": 1,
26 "limit": 10
27 }
28}
Was this page helpful?
Previous

Batch Delete Document

Next

Delete All Documents

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

domainstringRequired

Query parameters

pageinteger or nullOptional
The page number for pagination
limitinteger or nullOptional
The number of documents per page

Response

Successful Response
documentslist of objects
List of documents for the domain
paginationobject
Pagination information for the document list

Errors

422
Unprocessable Entity Error