# 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

## OpenAPI Specification

```yaml
openapi: 3.1.1
info:
  title: Get Website By Id
  version: endpoint_website.get_website_by_id
paths:
  /sources/website/{domain}/{website_id}:
    get:
      operationId: get-website-by-id
      summary: Get Website By Id
      description: Get a single indexed website page by ID.
      tags:
        - - subpackage_website
      parameters:
        - name: domain
          in: path
          required: true
          schema:
            type: string
        - name: website_id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: >-
            Bearer authentication of the form `Bearer <token>`, where token is
            your auth token.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWebsiteResponse'
        '422':
          description: Validation Error
          content: {}
components:
  schemas:
    Website:
      type: object
      properties:
        website_id:
          type: string
        domain:
          type: string
        base_url:
          type: string
        page_url:
          type: string
        chunk:
          type: string
        document:
          type: string
        title:
          type:
            - string
            - 'null'
        version:
          type:
            - string
            - 'null'
        product:
          type:
            - string
            - 'null'
        keywords:
          type:
            - array
            - 'null'
          items:
            type: string
        authed:
          type:
            - boolean
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - website_id
        - domain
        - base_url
        - page_url
        - chunk
        - document
        - created_at
        - updated_at
    GetWebsiteResponse:
      type: object
      properties:
        website:
          $ref: '#/components/schemas/Website'
          description: The requested website
      required:
        - website

```