> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gurubase.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop Website Crawl

> Stop an ongoing website crawl operation

Stops a running website crawl operation. This endpoint allows you to halt the crawling process before it completes naturally.

## Path Parameters

<ParamField path="guru_slug" type="string" required>
  The slug of the Guru type associated with the crawl
</ParamField>

<ParamField path="crawl_id" type="string" required>
  The unique identifier of the crawl operation to stop
</ParamField>

## Headers

<ParamField header="x-api-key" type="string" required>
  Your API key for authentication. You can obtain your API key from the [Gurubase dashboard](https://app.gurubase.io/api-keys).
</ParamField>

### Response

<ResponseField name="id" type="string">
  Unique identifier for the crawl operation
</ResponseField>

<ResponseField name="url" type="string">
  The root URL that was being crawled
</ResponseField>

<ResponseField name="status" type="string" enum={["RUNNING", "COMPLETED", "FAILED", "STOPPED"]}>
  Current status of the crawl operation
</ResponseField>

<ResponseField name="guru_type" type="string">
  The Guru type that the crawl was initiated for
</ResponseField>

<ResponseField name="discovered_urls" type="list">
  List of URLs discovered during crawling
</ResponseField>

<ResponseField name="start_time" type="string">
  Timestamp when crawl started (ISO 8601 format)
</ResponseField>

<ResponseField name="end_time" type="string">
  Timestamp when crawl ended (ISO 8601 format)
</ResponseField>

<ResponseField name="ignore_query_params" type="boolean">
  Whether query parameters were being stripped from discovered URLs
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
      "id": 211,
      "url": "https://getanteon.com/",
      "status": "STOPPED",
      "guru_type": "anteon",
      "discovered_urls": [],
      "start_time": "2025-02-21T10:25:22.710211Z",
      "end_time": "2025-02-21T10:26:15.521433Z",
      "link_limit": 1500,
      "ignore_query_params": true
  }
  ```

  ```json 404 theme={null}
  {
      "msg": "Crawl not found"
  }
  ```

  ```json 400 theme={null}
  {
      "msg": "Invalid request"
  }
  ```
</ResponseExample>
