Integration-scoped cache operations - shared across all users of a specific integration Use for API responses, configuration, or data that's the same for all users
Delete a value from integration cache
The cache key to delete
Promise that resolves when the operation completes
await cache.integration.delete('expired_config'); Copy
await cache.integration.delete('expired_config');
Get a value from integration cache
The cache key
Promise that resolves to the cached value or null if not found
const config = await cache.integration.get('api_config'); Copy
const config = await cache.integration.get('api_config');
Set a value in integration cache
The value to cache (must be JSON serializable)
Optional
Cache options including TTL
await cache.integration.set('lookup_ip_1.1.1.1', result, { ttl: 300 }); Copy
await cache.integration.set('lookup_ip_1.1.1.1', result, { ttl: 300 });
Integration-scoped cache operations - shared across all users of a specific integration Use for API responses, configuration, or data that's the same for all users