reset method allows you to clear all documents from a particular index.
Response
'Success' if the database is successfully reset.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const responseReset = await index.reset();
// 'Success'
reset method allows you to clear all documents from a particular index.
'Success' if the database is successfully reset.
const responseReset = await index.reset();
// 'Success'
Was this page helpful?