---
title: "Scrape Url"
method: POST
path: "/api/scraping/url"
tags: ["Scraping"]
---

# Scrape Url

`POST /api/scraping/url`

Create a Knowledge Base and return a streaming response.

## Request body

- KnowledgeBaseCreateSchema — Schema for creating a knowledge base entry.
  - `bot_id` string, uuid, required — Unique identifier for the associated bot.
  - `scrape_url` string, required — URL to scrape content for the knowledge base.
  - `scrape_type` 1 | 2 | 3, nullable — Type of scraping for the knowledge base.

## Response `200`

Successful Response

- string

## 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)
