Skip to main content
WSS
/
v0
/
stream
/
analyze

Documentation Index

Fetch the complete documentation index at: https://docs.interhuman.ai/llms.txt

Use this file to discover all available pages before exploring further.

Messages
bearerAuth
type:http

API key authentication. Include your API key in the Authorization header as 'Bearer <api_key>'.

headers
type:object
X-Client-Request-Id
type:string

Optional identifier supplied by the client to correlate this request with their own logs. When provided, the value is recorded alongside the server-assigned correlation ID in Interhuman logs to aid lookup and support investigations. This header is not echoed back in the response; the server returns its own correlation ID in the X-Correlation-ID HTTP response header.

Sec-WebSocket-Protocol
type:string

Authentication credential supplied during the WebSocket handshake. Pass your API key here when your client cannot set an Authorization header for WebSocket connections.

query
type:object
include[]
type:array

Optional flags indicating which conversation quality sections to include in result messages. Repeat the parameter once per flag (for example ?include[]=conversation_quality_overall&include[]=conversation_quality_timeline).

Accepted values:

  • conversation_quality_overall: include the overall conversation quality index, cumulative across every segment processed so far in the session.
  • conversation_quality_timeline: include the per-segment conversation quality entry for the current segment window.

When omitted, no optional sections are included. Unknown values are ignored.

Video (bytes)

Binary video segment sent by the client for analysis. Each segment must be at least 3 seconds long and must not exceed 32MB. Accepts the following formats: mp4, avi, mov, mkv, mpeg-ts, mpeg-2-ts, webm.

Result Message
type:object

Contains the results of the analysis for the current segment. signals and engagement_state cover this segment only; conversation_quality is computed over every segment processed so far in the session and is only emitted when the client opts in via the include[] query parameter at WebSocket connect (include[]=conversation_quality_overall and/or include[]=conversation_quality_timeline).

Completion Message
type:object

Indicates that processing for the video segment has completed.

Error Message
type:object

Indicates the operation failed and processing for this specific video segment has ceased without further updates.

Processing Message
type:object

Indicates that the video segment has been received and analysis is in progress.