Home > @google/generative-ai > GoogleAIFileManager > getFile
Get metadata for file with given ID
Signature:
getFile(fileId: string): Promise<FileMetadataResponse>;
Parameter | Type | Description |
---|---|---|
fileId | string |
Returns:
Promise<FileMetadataResponse>