From e57a8e9d4539ed62bacf0e041cf4c4f955131b76 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:52:18 -0300 Subject: [PATCH] better explain how includePaths and excludePaths work --- apps/api/v1-openapi.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/v1-openapi.json b/apps/api/v1-openapi.json index 1ff0fb9b..1253a27b 100644 --- a/apps/api/v1-openapi.json +++ b/apps/api/v1-openapi.json @@ -341,14 +341,14 @@ "items": { "type": "string" }, - "description": "URL patterns to exclude" + "description": "Specifies URL patterns to exclude from the crawl by comparing website paths against the provided regex patterns. For example, if you set \"excludePaths\": [\"blog/*\"] for the base URL firecrawl.dev, any results matching that pattern will be excluded, such as https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap." }, "includePaths": { "type": "array", "items": { "type": "string" }, - "description": "URL patterns to include" + "description": "Specifies URL patterns to include in the crawl by comparing website paths against the provided regex patterns. Only the paths that match the specified patterns will be included in the response. For example, if you set \"includePaths\": [\"blog/*\"] for the base URL firecrawl.dev, only results matching that pattern will be included, such as https://www.firecrawl.dev/blog/firecrawl-launch-week-1-recap." }, "maxDepth": { "type": "integer",