Skip to content

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

Nick:

Nicolas3244454826f7
diff --git a/apps/api/src/controllers/v1/map.ts b/apps/api/src/controllers/v1/map.ts
index 32294a0f1..21e91840f 100644
--- a/apps/api/src/controllers/v1/map.ts
+++ b/apps/api/src/controllers/v1/map.ts
@@ -127,5 +127,6 @@ export async function mapController(
return res.status(200).json({
success: true,
links: linksToReturn,
+ scrape_id: req.body.origin?.includes("website") ? id : undefined,
});
}
diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts
index f9f503170..c4e0cf84e 100644
--- a/apps/api/src/controllers/v1/types.ts
+++ b/apps/api/src/controllers/v1/types.ts
@@ -247,6 +247,7 @@ export type MapResponse =
| {
success: true;
links: string[];
+ scrape_id?: string;
};
export type CrawlStatusParams = {