Content Management API > Search Index
Trigger the indexing process
Manually trigger a spidering of the website to update the search index
Examples
import { buildClient } from "@datocms/cma-client-node";
async function run() { const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const searchIndexId = "1822"; await client.searchIndexes.trigger(searchIndexId);}
run();