Crawl
Create a new crawl request
Changed onThis endpoint is used to create a new crawl request for a dataset. The request payload should contain the crawl options to use for the crawl.
post/api/crawl
Request
- Base URLhttps://api.trieve.ai
- URLhttps://api.trieve.ai/api/crawl
- AuthAPI key in header Authorization
Headers
TR-Datasetstring uuid required
The dataset id to use for the request
Request body
Example request
{
"crawl_options": {
"crawl_options": {
"allow_external_links": false,
"boost_titles": true,
"exclude_tags": [
"#ad",
"#footer",
"header",
"head",
"navbar",
"footer",
"aside",
"nav",
"form"
],
"heading_remove_strings": [
"Advertisement",
"Sponsored"
],
"ignore_sitemap": true,
"include_tags": [],
"interval": "daily",
"limit": 50,
"site_url": "nedzo.ai"
}
}
}Response
Crawl created successfully
Example response
{
"crawl_options": {
"crawl_options": {
"allow_external_links": false,
"boost_titles": true,
"exclude_tags": [
"#ad",
"#footer",
"header",
"head",
"navbar",
"footer",
"aside",
"nav",
"form"
],
"heading_remove_strings": [
"Advertisement",
"Sponsored"
],
"ignore_sitemap": true,
"include_tags": [],
"interval": "daily",
"limit": 50,
"site_url": "nedzo.ai"
}
}
}Changes
- info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- info
- warning
removed the request property
/ - warning
removed the optional property
/from the response with the status
- warning