Skip to main content
POST
Scrape websites and save to knowledge base

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
type
string
default:web
required

Type of knowledge base

Example:

"web"

name
string
required

Name of the knowledge base

Maximum string length: 100
Example:

"Documentation"

urls
string[]
required

Array of URLs to scrape (maximum 100 URLs)

Maximum array length: 100
Example:
description
string

Optional description of the knowledge base content

Maximum string length: 500
Example:

"Complete product documentation"

Response

Web scraping completed and knowledge base created successfully