Skip to content

docs(sdks): document crawl cancellation in the JS and Python SDKs - #1604

Closed
mintlify[bot] wants to merge 1 commit into
mainfrom
autopilot/b2bb3463
Closed

mintlify[bot] wants to merge 1 commit into
mainfrom
autopilot/b2bb3463

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

The Node and Python SDK pages now explain how to stop a crawl you are waiting on, and what the cancel methods return when the crawl already finished.

The JS SDK's crawl() now accepts an AbortSignal that stops polling and cancels the job. Cancelling the task that awaits AsyncFirecrawl.crawl() now cancels the job too. cancelCrawl / cancel_crawl return false instead of throwing when the crawl already completed (409). The "Cancelling a Crawl" sections mentioned none of this.

Based on abortable crawl() that cancels its job; cancelCrawl returns false on 409 and cancel the crawl when async crawl() is cancelled; cancel_crawl returns False on 409, both shipped in the current SDK releases.

Needs a human look: mint validate and the repo's shell checks could not run in the sandbox (validate needs network access).

@mintlify
mintlify Bot requested a review from mogery October 15, 2026 14:11
@mintlify

mintlify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
firecrawl 🟢 Ready View Preview Oct 15, 2026, 2:14 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@mintlify

mintlify Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Folded into #1754, which consolidates the backlog of gap PRs.

@mintlify mintlify Bot closed this Oct 30, 2026

This branch was successfully deployed

1 active deployment
staging — 94a99e3a Deployed Oct 15, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant