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:
Cohere.init("API_KEY", {
// Set to true for the session to only be viewable live
// (default false)
disableRecording: true
Copy link