Skip to main content

Type definition

Below is the type definition for the AmbientSessionStatus type. Use it to track the current state of a session and update your UI accordingly.
type AmbientSessionStatus = 
  | "created"
  | "submitted"
  | "completed"
  | "cancelled";

sessionStatus property

The current status of the session (e.g., Recording, Paused, Processing).

useAmbientSession hook

The hook for managing ambient sessions.
Last modified on April 1, 2026