/** * Summary of a voice agent session. */ export interface AgentStudioVoiceSessionSummaryResponseBody { /** Identifier of the Agent Studio agent that handled the session. */ agentId: string; /** Display name of the agent that handled the session. */ agentName: string; /** Duration of the session, in milliseconds. */ durationMilliseconds: number; /** Time at which the session started, in RFC 3339 format. */ happenedAtTime: string; /** Unique identifier for the voice session. */ id: string; /** Human-readable name of the call recipient (driver name, dashboard user name, or phone number). Empty string when the recipient could not be resolved. */ recipient: string; /** Lifecycle status of the session. Valid values: `completed`, `running`, `failed`, `unknown` */ sessionStatus: AgentStudioVoiceSessionSummaryResponseBody.SessionStatus; /** Human-readable name of the trigger that initiated the session, as configured in Automations. Empty string when no trigger is associated with the session. */ triggerType: string; /** Time at which the session was last updated, in RFC 3339 format. */ updatedAtTime: string; } export declare namespace AgentStudioVoiceSessionSummaryResponseBody { /** Lifecycle status of the session. Valid values: `completed`, `running`, `failed`, `unknown` */ const SessionStatus: { readonly Completed: "completed"; readonly Running: "running"; readonly Failed: "failed"; readonly Unknown: "unknown"; }; type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus]; }