Headers
Path Parameters
Response
Successful Response
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const cache = await client.cache.update('name');
console.log(cache);
{}
Refresh an existing cache with newly available documents.
Args: name: Identifier of the cache to update. auth: Authentication context used for permission checks.
Returns: A dictionary indicating whether any documents were added.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const cache = await client.cache.update('name');
console.log(cache);
{}
Successful Response
Was this page helpful?