--- title: FileConnection - GraphQL Admin description: An auto-generated type for paginating through multiple Files. api_version: 2025-10 api_name: admin type: connection api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/connections/fileconnection md: https://shopify.dev/docs/api/admin-graphql/latest/connections/fileconnection.md --- # File​Connection connection An auto-generated type for paginating through multiple Files. ## Queries with this connection * [files](https://shopify.dev/docs/api/admin-graphql/latest/queries/files) query Retrieves a paginated list of files that have been uploaded to a Shopify store. Files represent digital assets that merchants can upload to their store for various purposes including product images, marketing materials, documents, and brand assets. Use the `files` query to retrieve information associated with the following workflows: * [Managing product media and images](https://shopify.dev/docs/apps/build/online-store/product-media) * [Theme development and asset management](https://shopify.dev/docs/storefronts/themes/store/success/brand-assets) * Brand asset management and [checkout branding](https://shopify.dev/docs/apps/build/checkout/styling/add-favicon) Files can include multiple [content types](https://shopify.dev/docs/api/admin-graphql/latest/enums/FileContentType), such as images, videos, 3D models, and generic files. Each file has properties like dimensions, file size, alt text for accessibility, and upload status. Files can be filtered by [media type](https://shopify.dev/docs/api/admin-graphql/latest/enums/MediaContentType) and can be associated with [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), [themes](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreTheme), and other store resources. *** ## Possible returns * edges [\[File​Edge!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/FileEdge) non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. * nodes [\[File!\]!](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/File) non-null A list of nodes that are contained in FileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. * page​Info [Page​Info!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PageInfo) non-null An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. *** ## Map ### Queries with this connection * \[files](https://shopify.dev/docs/api/admin-graphql/latest/queries/files) ### Possible returns * <->[File​Connection.edges](https://shopify.dev/docs/api/admin-graphql/latest/connections/FileConnection#returns-edges) * <->[File​Connection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/FileConnection#returns-nodes) * <->[File​Connection.pageInfo](https://shopify.dev/docs/api/admin-graphql/latest/connections/FileConnection#returns-pageInfo)