Skip to content

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

Update v1.ts (#1509)

Nicolas8b88c26a4797
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.ts
index a6161564c..70a5ec7cf 100644
--- a/apps/api/src/routes/v1.ts
+++ b/apps/api/src/routes/v1.ts
@@ -296,6 +296,12 @@ v1Router.delete(
authMiddleware(RateLimiterMode.CrawlStatus),
crawlCancelController,
);
+
+v1Router.delete(
+ "/batch/scrape/:jobId",
+ authMiddleware(RateLimiterMode.CrawlStatus),
+ crawlCancelController,
+);
// v1Router.get("/checkJobStatus/:jobId", crawlJobStatusPreviewController);
// // Auth route for key based authentication