---
title: "Refresh an indexed website"
method: POST
path: "/integrations/web_crawler/crawl/refresh"
tags: ["Integrations"]
---

# Refresh an indexed website

`POST /integrations/web_crawler/crawl/refresh`

## Request

- Base URL: `https://api.hyperspell.com`
- URL: `https://api.hyperspell.com/integrations/web_crawler/crawl/refresh`
- Auth: HTTP bearer

## Headers

- `X-As-User` string, nullable: Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

## Request body

- WebsiteRefreshParams
  - `url` string, required
  - `max_depth` integer, nullable
  - `limit` integer, nullable

## Response `200`

Successful Response

- WebsiteCrawlProgress
  - `url` string
  - `status` string
  - `discovered` integer, nullable
  - `indexed` integer, nullable
  - `failed` integer, nullable
  - `limit` integer
  - `limit_reached` boolean
  - `errors` string[]
  - `duplicates` integer
  - `run_id` string, nullable

## Other responses

- `422`: Validation Error

## Changes

> 43 revisions in range; 2 not diffed.

- **2026-10-22** `cdf64d80b832`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hyperspell/apis/hyperspell-api/changes/integrations/web_crawler/crawl/refresh/post.md)

---

[API](https://skmtc.dev/hyperspell/apis/hyperspell-api.md) - [All operations](https://skmtc.dev/hyperspell/apis/hyperspell-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hyperspell/apis/hyperspell-api/revisions/9bafd1215a0f?raw)
