Skip to content

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

fix(log_job): add crawl_id

Gergo Moricza33596de3cdb
diff --git a/apps/api/src/services/logging/log_job.ts b/apps/api/src/services/logging/log_job.ts
index 93d0b311b..c49e697ed 100644
--- a/apps/api/src/services/logging/log_job.ts
+++ b/apps/api/src/services/logging/log_job.ts
@@ -40,6 +40,7 @@ export async function logJob(job: FirecrawlJob) {
extractor_options: job.extractor_options,
num_tokens: job.num_tokens,
retry: !!job.retry,
+ crawl_id: job.crawl_id,
},
]);
@@ -64,6 +65,7 @@ export async function logJob(job: FirecrawlJob) {
extractor_options: job.extractor_options,
num_tokens: job.num_tokens,
retry: job.retry,
+ crawl_id: job.crawl_id,
},
};
posthog.capture(phLog);