Sorry, no results found for "".
By default a spidering of the site is performed automatically at the end of a deploy. If you only need the spidering without a deploy, you can trigger it by calling this endpoint.
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const buildTriggerId = "1822";7 await client.buildTriggers.reindex(buildTriggerId);8}9 10run();