Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update openapi.json

rafaelsideguide205cd63c2f66
diff --git a/apps/api/openapi.json b/apps/api/openapi.json
index bb2719760..81481ef60 100644
--- a/apps/api/openapi.json
+++ b/apps/api/openapi.json
@@ -41,48 +41,48 @@
"pageOptions": {
"type": "object",
"properties": {
- "onlyMainContent": {
- "type": "boolean",
- "description": "Only return the main content of the page excluding headers, navs, footers, etc.",
- "default": false
+ "headers": {
+ "type": "object",
+ "description": "Headers to send with the request. Can be used to send cookies, user-agent, etc."
},
"includeHtml": {
"type": "boolean",
"description": "Include the raw HTML content of the page. Will output a html key in the response.",
"default": false
},
- "screenshot": {
- "type": "boolean",
- "description": "Include a screenshot of the top of the page that you are scraping.",
- "default": false
- },
- "waitFor": {
- "type": "integer",
- "description": "Wait x amount of milliseconds for the page to load to fetch content",
- "default": 0
- },
- "removeTags": {
+ "onlyIncludeTags": {
"type": "array",
"items": {
"type": "string"
},
- "description": "Tags, classes and ids to remove from the page. Use comma separated values. Example: 'script, .ad, #footer'"
+ "description": "Only include tags, classes and ids from the page in the final output. Use comma separated values. Example: 'script, .ad, #footer'"
},
- "onlyIncludeTags": {
+ "onlyMainContent": {
+ "type": "boolean",
+ "description": "Only return the main content of the page excluding headers, navs, footers, etc.",
+ "default": false
+ },
+ "removeTags": {
"type": "array",
"items": {
"type": "string"
},
- "description": "Only include tags, classes and ids from the page in the final output. Use comma separated values. Example: 'script, .ad, #footer'"
- },
- "headers": {
- "type": "object",
- "description": "Headers to send with the request. Can be used to send cookies, user-agent, etc."
+ "description": "Tags, classes and ids to remove from the page. Use comma separated values. Example: 'script, .ad, #footer'"
},
"replaceAllPathsWithAbsolutePaths": {
"type": "boolean",
"description": "Replace all relative paths with absolute paths for images and links",
"default": false
+ },
+ "screenshot": {
+ "type": "boolean",
+ "description": "Include a screenshot of the top of the page that you are scraping.",
+ "default": false
+ },
+ "waitFor": {
+ "type": "integer",
+ "description": "Wait x amount of milliseconds for the page to load to fetch content",
+ "default": 0
}
}
},
@@ -216,7 +216,12 @@
},
"allowBackwardCrawling": {
"type": "boolean",
- "description": "Allow backward crawling (crawl from the base URL to the previous URLs)",
+ "description": "Enables the crawler to navigate from a specific URL to previously linked pages. For instance, from 'example.com/product/123' back to 'example.com/product'",
+ "default": false
+ },
+ "allowExternalContentLinks": {
+ "type": "boolean",
+ "description": "Allows the crawler to follow links to external websites.",
"default": false
}
}
@@ -224,25 +229,27 @@
"pageOptions": {
"type": "object",
"properties": {
- "onlyMainContent": {
- "type": "boolean",
- "description": "Only return the main content of the page excluding headers, navs, footers, etc.",
- "default": false
+ "headers": {
+ "type": "object",
+ "description": "Headers to send with the request. Can be used to send cookies, user-agent, etc."
},
"includeHtml": {
"type": "boolean",
"description": "Include the raw HTML content of the page. Will output a html key in the response.",
"default": false
},
- "screenshot": {
+ "onlyIncludeTags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Only include tags, classes and ids from the page in the final output. Use comma separated values. Example: 'script, .ad, #footer'"
+ },
+ "onlyMainContent": {
"type": "boolean",
- "description": "Include a screenshot of the top of the page that you are scraping.",
+ "description": "Only return the main content of the page excluding headers, navs, footers, etc.",
"default": false
},
- "headers": {
- "type": "object",
- "description": "Headers to send with the request when scraping. Can be used to send cookies, user-agent, etc."
- },
"removeTags": {
"type": "array",
"items": {
@@ -254,6 +261,16 @@
"type": "boolean",
"description": "Replace all relative paths with absolute paths for images and links",
"default": false
+ },
+ "screenshot": {
+ "type": "boolean",
+ "description": "Include a screenshot of the top of the page that you are scraping.",
+ "default": false
+ },
+ "waitFor": {
+ "type": "integer",
+ "description": "Wait x amount of milliseconds for the page to load to fetch content",
+ "default": 0
}
}
}