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.
预约演示登录免费开始
  • 入门
    • 概览
    • 工作原理
    • 快速开始
    • 项目结构
    • Customer showcase
    • 变更日志
  • 配置
    • 概览
    • 站点级设置
    • 页面级设置
  • 编写内容
    • Markdown 基础
    • Markdown 中的富媒体
    • Fern 编辑器
    • 可复用代码片段
  • AI 功能
    • 概览
    • Fern Writer
    • AI 生成的示例
    • Markdown 访问
      • 概览
      • Agent 指令
      • 智能体指令
      • 分析与集成
    • MCP 服务器
    • API 目录发现
      • 概览
        • 简介
          • POSTIndex Website
          • GETGet Website Status
          • GETGet Website By Id
          • GETGet Websites
          • POSTReindex Website
          • DELDelete Website
          • DELDelete All Websites
  • 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
预约演示登录免费开始
AI 功能Ask FernAPI referenceWebsite

Get Websites

||以 Markdown 格式查看|
GET
/sources/website/:domain
GET
/sources/website/:domain
$curl https://fai.buildwithfern.com/sources/website/domain \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "websites": [
3 {
4 "website_id": "a1b2c3d4-e5f6-7890-ab12-cd34ef567890",
5 "domain": "example.com",
6 "base_url": "https://example.com",
7 "page_url": "https://example.com/products/widget",
8 "chunk": "This is a sample chunk of text extracted from the webpage content for indexing purposes.",
9 "document": "<html><head><title>Widget Product Page</title></head><body>Details about the widget product.</body></html>",
10 "created_at": "2024-01-15T09:30:00Z",
11 "updated_at": "2024-01-15T09:30:00Z",
12 "title": "Widget Product Page",
13 "version": "1.0.3",
14 "product": "Widget",
15 "keywords": [
16 "widget",
17 "product",
18 "example"
19 ],
20 "authed": false
21 }
22 ],
23 "pagination": {
24 "total": 25,
25 "page": 1,
26 "limit": 10
27 }
28}
List all indexed website pages for a domain with pagination.
此页面是否有帮助?
上一个

Get Website By Id

下一个

Reindex Website

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 token 是您的身份验证令牌。

路径参数

domainstring必需

查询参数

pageinteger可选默认为 1
The page number for pagination
limitinteger可选默认为 100
The number of sources per page

响应

Successful Response
websiteslist of objects
List of indexed website pages for the domain
paginationobject
Pagination information for the website list

错误

422
Unprocessable Entity Error