interactionsGet( client: GoogleGenAICore, id: string, stream?: false, last_event_id?: string, include_input?: boolean, api_version?: string, options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< GetInteractionByIdResponse, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError | GetInteractionByIdServerError | GetInteractionByIdClientError, >,> Parameters
- client: GoogleGenAICore
- id: string
Optionalstream: falseOptionallast_event_id: stringOptionalinclude_input: booleanOptionalapi_version: stringOptionaloptions: Omit<RequestOptions, "extra_body">
interactionsGet( client: GoogleGenAICore, id: string, stream?: true, last_event_id?: string, include_input?: boolean, api_version?: string, options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< GetInteractionByIdResponse, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError | GetInteractionByIdServerError | GetInteractionByIdClientError, >,> Parameters
- client: GoogleGenAICore
- id: string
Optionalstream: trueOptionallast_event_id: stringOptionalinclude_input: booleanOptionalapi_version: stringOptionaloptions: Omit<RequestOptions, "extra_body">
interactionsGet( client: GoogleGenAICore, id: string, stream?: boolean, last_event_id?: string, include_input?: boolean, api_version?: string, options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< GetInteractionByIdResponse, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError | GetInteractionByIdServerError | GetInteractionByIdClientError, >,> Parameters
- client: GoogleGenAICore
- id: string
Optionalstream: booleanOptionallast_event_id: stringOptionalinclude_input: booleanOptionalapi_version: stringOptionaloptions: Omit<RequestOptions, "extra_body">
Retrieving an interaction