0

Update openapi.json

This commit is contained in:
Nicolas 2024-04-22 08:41:54 -07:00
parent 3ead2efdca
commit de7e1f501b

View File

@ -3,11 +3,11 @@
"info": { "info": {
"title": "Firecrawl API", "title": "Firecrawl API",
"version": "1.0.0", "version": "1.0.0",
"description": "API for interacting with Firecrawl services to convert websites to LLM-ready data.", "description": "API for interacting with Firecrawl services to perform web scraping and crawling tasks.",
"contact": { "contact": {
"name": "Firecrawl Support", "name": "Firecrawl Support",
"url": "https://firecrawl.dev/support", "url": "https://firecrawl.dev/support",
"email": "help@mendable.ai" "email": "support@firecrawl.dev"
} }
}, },
"servers": [ "servers": [
@ -37,6 +37,16 @@
"type": "string", "type": "string",
"format": "uri", "format": "uri",
"description": "The URL to scrape" "description": "The URL to scrape"
},
"pageOptions": {
"type": "object",
"properties": {
"onlyMainContent": {
"type": "boolean",
"description": "Only return the main content of the page excluding headers, navs, footers, etc.",
"default": false
}
}
} }
}, },
"required": ["url"] "required": ["url"]
@ -111,6 +121,11 @@
"description": "Generate alt text for images using LLMs (must have a paid plan)", "description": "Generate alt text for images using LLMs (must have a paid plan)",
"default": false "default": false
}, },
"returnOnlyUrls": {
"type": "boolean",
"description": "If true, returns only the URLs as a list on the crawl status. Attention: the return response will be a list of URLs inside the data, not a list of documents.",
"default": false
},
"limit": { "limit": {
"type": "integer", "type": "integer",
"description": "Maximum number of pages to crawl" "description": "Maximum number of pages to crawl"
@ -292,4 +307,3 @@
} }
] ]
} }