Selectively recording sessions

For more details about how sessions are calculated, please see What counts as a session.

If you have recordings enabled, you may want to view certain sessions live while preventing them from being counted towards your team's recording limit (e.g. for a high-traffic landing page). Note that by default, recordings are retained for 30 days before they are permanently deleted.

To do so, 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