---
title: "Get All Nested Url Knowledge Base"
method: GET
path: "/api/scraping/url-nested/{bot_id}"
tags: ["Scraping"]
---

# Get All Nested Url Knowledge Base

`GET /api/scraping/url-nested/{bot_id}`

Get all nested URLs for a given bot by bot_id.

## Path parameters

- `bot_id` string, uuid, required

## Response `200`

Successful Response

- BotKnowledgeNestedUrlResponseSchema[]
  - `knowledge_base_id` string, uuid, required — Unique identifier for the associated knowledge base.
  - `url` string, required — URL of the knowledge base.
  - `num_token` integer, required — Number of tokens in the knowledge base URL.
  - `children` BotKnowledgeBaseUrlResponseSchema[] — List of nested URLs in the knowledge base.
    - `knowledge_base_id` string, uuid, required — Unique identifier for the associated knowledge base.
    - `url` string, required — URL of the knowledge base.
    - `num_token` integer, required — Number of tokens in the knowledge base URL.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.net/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
