Try Bifrost Enterprise free for 14 days. Explore now
cURL
curl --request GET \ --url http://localhost:8080/genai/v1beta/files
{ "files": [ { "name": "<string>", "displayName": "<string>", "mimeType": "<string>", "sizeBytes": "<string>", "createTime": "2023-11-07T05:31:56Z", "updateTime": "2023-11-07T05:31:56Z", "expirationTime": "2023-11-07T05:31:56Z", "sha256Hash": "<string>", "uri": "<string>", "state": "STATE_UNSPECIFIED", "error": { "code": 123, "message": "<string>" }, "videoMetadata": { "videoDuration": "<string>" } } ], "nextPageToken": "<string>" }
Lists uploaded files in Google Gemini API format.
Maximum number of files to return
Page token for pagination
Successful response
Show child attributes
Was this page helpful?