Server SDKs
Build AI agents, control calls, send messages, and more
Clear the validation result cache. Useful when the schema has been reloaded or when you want to force re-validation.
None.
void
1import { SchemaUtils } from '@signalwire/sdk';23const schema = new SchemaUtils();4schema.validate(someDocument);5schema.clearCache();6console.log(schema.getCacheSize()); // 0