For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Start buildingGet support
DocumentationAPI ReferenceChangelogDiscord
  • Introduction
    • Welcome to Hume AI
    • Getting your API keys
    • Support
    • Pricing
  • Voice
    • Overview
    • Voice design
    • Voice cloning
    • Voice management
  • Text-to-Speech (TTS)
    • Overview
    • Voice
    • Acting instructions
    • Voice conversion
    • Continuation
    • Timestamps
    • FAQ
  • Speech-to-Speech (EVI)
    • Overview
      • Build a configuration
      • Session settings
      • EVI version
      • Voice
      • System prompt
      • Language model
      • Tools
      • Event messages
      • Turn detection
      • Interruption
      • Timeouts
      • Webhooks
    • FAQ
  • Expression Measurement
    • Overview
    • About the science
    • FAQ
  • Integrations
    • MCP
    • Vercel AI SDK
    • LiveKit
    • Pipecat
    • Vapi
    • Twilio
    • Agora
  • Resources
    • Terms of use
    • Use case guidelines
    • Billing
    • Errors
    • Privacy
    • Status
Start buildingGet support
LogoLogo
LogoLogo
On this page
  • Timeout options
  • 1. Inactivity timeout
  • 2. Max duration timeout
Speech-to-Speech (EVI)Configuration

Timeouts

Define and manage chat session duration limits.
Was this page helpful?
Edit this page
Previous

Webhooks

Guide to EVI's webhooks configuration option.
Next
Built with

Timeout configurations allow you to control the lifespan of an EVI chat session by specifying time limits for user inactivity and overall session duration. These settings help manage when a chat session should end based on your integration requirements and work in concert with event messages.

When timeouts are triggered, the server sends corresponding messages to inform clients about the upcoming disconnection or session termination. These configurations ensure that sessions remain active only as long as needed.

These settings can be combined with event messages to provide users with notifications prior to disconnection. For example, an inactivity timeout can trigger a message to “check in” with the user before ending the session.

API Reference

See our API Reference for details on how to configure timeouts in your EVI configuration.

Timeout options

1. Inactivity timeout

Specifies the duration (in seconds) of user inactivity after which the EVI WebSocket connection will be automatically disconnected.

  • Default: 120 seconds (2 minutes)
  • Minimum: 30 seconds
  • Maximum: 1,800 seconds (30 minutes)

2. Max duration timeout

Specifies the maximum allowed duration (in seconds) for an EVI WebSocket connection before it is automatically disconnected.

  • Default: 1,800 seconds (30 minutes)
  • Minimum: 30 seconds
  • Maximum: 1,800 seconds (30 minutes)