Skip to main content

InteractRequest

ug-js-sdk


ug-js-sdk / InteractRequest

Interface: InteractRequest

Defined in: types/index.ts:698

Extends

  • Request

Properties

type

type: "request" | "stream"

Defined in: types/index.ts:455

Request type: 'request' for single response, 'stream' for streaming

Inherited from

Request.type


uid

uid: string

Defined in: types/index.ts:459

Unique identifier for request/response correlation

Inherited from

Request.uid


client_start_time?

optional client_start_time: string

Defined in: types/index.ts:461

ISO timestamp when client sent the request

Inherited from

Request.client_start_time


server_start_time?

optional server_start_time: string

Defined in: types/index.ts:463

ISO timestamp when server started processing

Inherited from

Request.server_start_time


kind

kind: "interact"

Defined in: types/index.ts:699

The kind of request (e.g., 'interact', 'authenticate')

Overrides

Request.kind


text?

optional text: string

Defined in: types/index.ts:700


speakers?

optional speakers: string[]

Defined in: types/index.ts:701


context?

optional context: Record<string, any>

Defined in: types/index.ts:702


on_input_non_blocking?

optional on_input_non_blocking: string[]

Defined in: types/index.ts:708


on_input?

optional on_input: string[]

Defined in: types/index.ts:716


on_output?

optional on_output: string[]

Defined in: types/index.ts:721


audio_output?

optional audio_output: boolean

Defined in: types/index.ts:722


language_code?

optional language_code: string

Defined in: types/index.ts:723