---
title: "Create Kb Crawl"
method: POST
path: "/v1/knowledge/{kb_slug}/crawls"
tags: ["Knowledge"]
---

# Create Kb Crawl

`POST /v1/knowledge/{kb_slug}/crawls`

Create a new crawl (topic or source) for a knowledge base.

## Path parameters

- `kb_slug` string, required

## Headers

- `authorization` string, nullable

## Request body

- CrawlCreateRequest — Schema for creating a new crawl (topic or source).
  - `type` string, required — Crawl type: 'exa_search' (topic) or 'url' (source)
  - `value` string, required — Topic query or URL (for display)
  - `config` ExaSearchConfigCreate — Schema for Exa search configuration.
    - `query` string, required — Main search query
    - `additionalQueries` string[], nullable — Query variations (max 3)
    - `category` 'company' | 'research paper' | 'news' | 'pdf' | 'github' | 'tweet' | 'personal site' | 'financial report' | 'people', nullable — Search category
    - `startPublishedDate` string, nullable — ISO 8601 date for filtering by publish date start
    - `endPublishedDate` string, nullable — ISO 8601 date for filtering by publish date end
  - `cadenceSeconds` integer — Refresh interval in seconds

## Response `201`

Successful Response

- CrawlResponse — Schema for crawl response.
  - `id` string, required — Crawl ID
  - `type` string, required — Crawl type: 'exa_search' or 'url'
  - `value` string, required — Topic query or URL
  - `status` string, required — Crawl status
  - `cadenceSeconds` integer, required — Refresh interval in seconds
  - `createdAt` string, date-time, required — Creation timestamp

## Other responses

- `422` — Validation Error

---

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