---
title: "Confirm a crawl and import its pages"
method: POST
path: "/api/v1/chatbots/{id}/knowledge/crawl/{crawlId}/confirm"
---

# Confirm a crawl and import its pages

`POST /api/v1/chatbots/{id}/knowledge/crawl/{crawlId}/confirm`

## Request

- Base URL: `https://smartwebchat.eu`
- URL: `https://smartwebchat.eu/api/v1/chatbots/{id}/knowledge/crawl/{crawlId}/confirm`
- Auth: HTTP bearer

409 has two causes, told apart by error.code: idempotency_in_progress, or crawl_not_in_preview when the crawl is not waiting for confirmation (read the job first).

## Path parameters

- `id` string, required
- `crawlId` string, required

## Headers

- `Idempotency-Key` string

## Response `202`

Import started; data.job

## Other responses

- `404`: Crawl not found for this chatbot
- `409`: A request with this Idempotency-Key is still being processed. Retry after the seconds given in Retry-After (2).
- `422`: Idempotency-Key was already used with a different request body. Use a new key for a new request.
- `429`: Rate limit exceeded: 600 requests per minute per account across all /api/v1/ routes. Wait for the seconds given in Retry-After (60) and retry.

---

[API](https://skmtc.dev/smartwebchat/apis/smartwebchat-api.md) · [All operations](https://skmtc.dev/smartwebchat/apis/smartwebchat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smartwebchat/apis/smartwebchat-api/revisions/1b052502dacb?raw)
