> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Get Website By Id GET https://fai.buildwithfern.com/sources/website/{domain}/{website_id} Get a single indexed website page by ID. Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/get-website-by-id ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Servers - `https://fai.buildwithfern.com` (Production, default) - `https://fai-dev.buildwithfern.com` (Development) - `http://localhost:8080` (Local) ## Request ### Path parameters - `domain` (string, required) - `website_id` (string, required) ## Response ### 200 Successful Response - `website` (object, required) — The requested website - `website_id` (string, required) - `domain` (string, required) - `base_url` (string, required) - `page_url` (string, required) - `chunk` (string, required) - `document` (string, required) - `created_at` (datetime, required) - `updated_at` (datetime, required) - `title` (string, optional, nullable) - `version` (string, optional, nullable) - `product` (string, optional, nullable) - `keywords` (list of string, optional, nullable) - `authed` (boolean, optional, nullable) ## Errors ### 422 Unprocessable Entity Error Validation Error - `detail` (list of object, optional) - `loc` (list of string or integer, required) - `msg` (string, required) - `type` (string, required) ## Examples **Request** ```json {} ``` **Response** ```json { "website": { "website_id": "a1b2c3d4-e5f6-7890-ab12-cd34ef567890", "domain": "example.com", "base_url": "https://example.com", "page_url": "https://example.com/products/widget-123", "chunk": "

Introducing our latest widget, designed for efficiency and durability.

", "document": "Widget 123 - Example.com

Widget 123

Details about widget 123.

", "created_at": "2024-01-15T09:30:00Z", "updated_at": "2024-01-15T09:30:00Z", "title": "Widget 123 - Example.com", "version": "1.0.3", "product": "Widget 123", "keywords": [ "widget", "product", "example" ], "authed": false } } ```