> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Files

Retrieve a list of the uploaded files.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Gemini documentation](https://ai.google.dev/gemini-api/docs/files#list-uploaded).

## Example Output

```json theme={"dark"}
{
	"files": [
		{
			"name": "files/555br5yo5xgh",
			"displayName": "example1",
			"mimeType": "text/plain",
			"sizeBytes": "20",
			"createTime": "2026-02-05T09:56:49.808424Z",
			"updateTime": "2026-02-05T09:56:49.808424Z",
			"expirationTime": "2026-02-07T09:56:49.338590917Z",
			"sha256Hash": "MTFhMWU3MTE0MjE4OWE1ZDJkZjVjODI1OTI4MjRiY2RjZDA4M2JjY2IxNDQ3MTJhNjkxZDQyMDgxOTkxNzQwYg==",
			"uri": "https://generativelanguage.googleapis.com/v1beta/files/555br5yo5xgh",
			"state": "ACTIVE",
			"source": "UPLOADED"
		},
		{
			"name": "files/555br5yo6xgh",
			"displayName": "example2",
			"mimeType": "image/png",
			"sizeBytes": "216605",
			"createTime": "2026-02-05T09:56:45.492822Z",
			"updateTime": "2026-02-05T09:56:45.492822Z",
			"expirationTime": "2026-02-07T09:56:44.956961409Z",
			"sha256Hash": "NTQ1ZjM0N2RlZmExOTU4YzdlNTE0YjA5NzYwM2E5ODkzMjdkNGI2ZDM5ZGNhNDdjYTVkNGJkZDg2OWU5YmQyZA==",
			"uri": "https://generativelanguage.googleapis.com/v1beta/files/555br5yo6xgh",
			"state": "ACTIVE",
			"source": "UPLOADED"
		}
	]
}
```

## Workflow Library Example

[List Files with Gemini and Send Results Via Email](https://library.blinkops.com/workflows/list-files-with-gemini-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/list-files-with-gemini-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/list-files-with-gemini-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.