Type Alias LlmGatewaySpeechUnderstandingRequest

LlmGatewaySpeechUnderstandingRequest: {
    speech_understanding: {
        request: Record<string, {
            version?: string;
        } & Record<string, unknown>>;
    };
    transcript_id?: string;
    [key: string]: unknown;
}

A request to /v1/understanding or /v1/understanding/validate. The backend itself treats this as loosely-typed JSON with pluggable feature keys under speech_understanding.request (e.g. speaker_identification, translation, custom_formatting, summarization, action_items), so only the envelope is typed here.

Type declaration

  • [key: string]: unknown
  • speech_understanding: {
        request: Record<string, {
            version?: string;
        } & Record<string, unknown>>;
    }
    • request: Record<string, {
          version?: string;
      } & Record<string, unknown>>
  • Optionaltranscript_id?: string

    Fetch the transcript to run features against by id, instead of inlining it.