Method: files.get

Gets the metadata for the given File.

HTTP request

GET https://generativelanguage.googleapis.com/v1beta/{name=files/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the File to get. Example: files/abc-123

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of File.