interactionsGet( client: GoogleGenAICore, id: string, api_version?: string, include_input?: boolean, last_event_id?: string, stream?: false, options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< Interaction, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError | GetInteractionByIdServerError | GetInteractionByIdClientError, >,> Parameters
- client: GoogleGenAICore
- id: string
Optionalapi_version: stringOptionalinclude_input: booleanOptionallast_event_id: stringOptionalstream: falseOptionaloptions: Omit<RequestOptions, "extra_body">
interactionsGet( client: GoogleGenAICore, id: string, api_version?: string, include_input?: boolean, last_event_id?: string, stream?: true, options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< Stream<InteractionSSEEvent>, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError | GetInteractionByIdServerError | GetInteractionByIdClientError, >,> Parameters
- client: GoogleGenAICore
- id: string
Optionalapi_version: stringOptionalinclude_input: booleanOptionallast_event_id: stringOptionalstream: trueOptionaloptions: Omit<RequestOptions, "extra_body">
interactionsGet( client: GoogleGenAICore, id: string, api_version?: string, include_input?: boolean, last_event_id?: string, stream?: boolean, options?: Omit<RequestOptions, "extra_body">,): APIPromise< Result< GetInteractionByIdResponse, | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError | GoogleGenAiError | GetInteractionByIdServerError | GetInteractionByIdClientError, >,> Parameters
- client: GoogleGenAICore
- id: string
Optionalapi_version: stringOptionalinclude_input: booleanOptionallast_event_id: stringOptionalstream: booleanOptionaloptions: Omit<RequestOptions, "extra_body">
Retrieves the full details of a single interaction based on its
Interaction.id.