Skip to main content
POST
/
v1
/
knowledge-base
/
url
Create Knowledge Base From Url Endpoint
curl --request POST \
  --url https://api.example.com/v1/knowledge-base/url \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>"
}

Headers

x-api-key
string | null

API key for authentication

Body

application/json

Model for creating a knowledge base document from URL

url
string
required

URL to scrape

Minimum string length: 1

Response

Successful Response

Response after creating a knowledge base document

id
string
required
name
string
required