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

Type declaration

  • Optionalapi_version?: string

    API version for request routing.

  • id: string

    Required. The name of the interaction to retrieve.

  • Optionalinclude_input?: boolean

    If true, includes the input in the response.

  • Optionallast_event_id?: string

    If set, resumes the interaction stream from the chunk after the event

    marked by the event id. Can only be used if stream is true.

  • Optionalstream?: boolean

    If true, streams the interaction events as Server-Sent Events.