Selective Session Recording
For more details about how sessions are calculated, please see the Cohere session definition.
If you have Cohere Replay and would like to avoid hitting your session limit early, you can disable recording on certain pages (e.g. for a high-traffic landing page) and still be able to view the page live. Note that by default, recordings are retained for 30 days before they are permanently deleted.
To disable recording, pass in the disableRecording flag when initializing Cohere:
1
Cohere.init("API_KEY", {
2
// Set to true for the session to only be viewable live
3
// (default false)
4
disableRecording: true
5
});
Copied!
Last modified 4mo ago
Copy link