Skip to content

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

Merge pull request #35 from mendableai/nsc/job-logs

Nicolasacec76680a08
diff --cc apps/api/src/types.ts
index 9442176ec,7803d93a6..e3fc5dc75
--- a/apps/api/src/types.ts
+++ b/apps/api/src/types.ts
@@@ -25,12 -25,18 +25,26 @@@ export interface WebScraperOptions
}
+ export interface FirecrawlJob {
+ success: boolean;
+ message: string;
+ num_docs: number;
+ docs: any[];
+ time_taken: number;
+ team_id: string;
+ mode: string;
+ url: string;
+ crawlerOptions?: any;
+ pageOptions?: any;
+ }
+
+
+export enum RateLimiterMode {
+ Crawl = "crawl",
+ CrawlStatus = "crawl-status",
+ Scrape = "scrape",
+ Preview = "preview",
+}
+
+