# Get Website Status

GET https://fai.buildwithfern.com/sources/website/{domain}/status

Get the status of a website crawling job.

Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/get-website-status

## OpenAPI Specification

```yaml
openapi: 3.1.1
info:
  title: Get Website Status
  version: endpoint_website.get_website_status
paths:
  /sources/website/{domain}/status:
    get:
      operationId: get-website-status
      summary: Get Website Status
      description: Get the status of a website crawling job.
      tags:
        - - subpackage_website
      parameters:
        - name: domain
          in: path
          required: true
          schema:
            type: string
        - name: job_id
          in: query
          description: The job ID returned from the index endpoint
          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/GetWebsiteStatusResponse'
        '422':
          description: Validation Error
          content: {}
components:
  schemas:
    GetWebsiteStatusResponse:
      type: object
      properties:
        job_id:
          type: string
        status:
          type: string
          description: 'Job status: PENDING, PROCESSING, COMPLETED, or FAILED'
        base_url:
          type: string
        pages_indexed:
          type: integer
          description: Number of pages successfully indexed
        pages_failed:
          type: integer
          description: Number of pages that failed to index
        error:
          type:
            - string
            - 'null'
          description: Error message if the job failed
      required:
        - job_id
        - status
        - base_url
        - pages_indexed
        - pages_failed

```