> For the complete documentation index, see [llms.txt](https://docs.chatbees.ai/chatbees/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatbees.ai/chatbees/api-references/crawl-operations/index-crawl.md).

# Index Crawl

After a crawl completes and you are satisfied with the crawled pages, simply call `index_crawl()` to index all content into the collection.

{% tabs %}
{% tab title="HTTP" %}

```
POST /docs/index_crawl HTTP/1.1
Api-Key: my_api_key
Content-Type: application/json
Host: my_account_id.us-west-2.aws.chatbees.ai

{
  "namespace_name": "string",
  "collection_name": "string",
  "crawl_id": "string"
}

Response:
{}
```

{% endtab %}

{% tab title="Python" %}

```
import chatbees as cb

# Configure API key
cb.init(api_key="my_api_key", account_id="my_account_id")

col = cb.collection('llm_research')

col.index_crawl(crawl_id)
```

{% endtab %}
{% endtabs %}
