cURL
curl --request POST \ --url https://api.example.com/v1/knowledge-base/url \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>" } '
{ "id": "<string>", "name": "<string>" }
Create a knowledge base document by scraping a URL.
Request body:
Returns:
The endpoint will:
Error cases:
API key for authentication
Model for creating a knowledge base document from URL
URL to scrape
1
Successful Response
Response after creating a knowledge base document