GetInteractionByIdRequest: {
    api_version?: string;
    id: string;
    include_input?: boolean;
    last_event_id?: string;
    stream?: boolean;
}

Type declaration

  • Optionalapi_version?: string

    Which version of the API to use.

  • id: string

    The unique identifier of the interaction to retrieve.

  • Optionalinclude_input?: boolean

    If set to true, includes the input in the response.

    field: This will be removed in a future release, please migrate away from it as soon as possible.

  • Optionallast_event_id?: string

    Optional. If set, resumes the interaction stream from the next chunk after the event marked by the event id. Can only be used if stream is true.

  • Optionalstream?: boolean

    If set to true, the generated content will be streamed incrementally.