--- title: File - GraphQL Admin description: A file interface. api_version: 2026-04 api_name: admin type: interface api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/interfaces/file md: https://shopify.dev/docs/api/admin-graphql/latest/interfaces/file.md --- # File interface Requires `read_products` access scope, `read_files` access scope, `read_themes` access scope, `read_orders` access scope, `read_draft_orders` access scope, `read_images` access scope or `read_quick_sale` access scope. A file interface. ## Fields * alt [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) A word or phrase to describe the contents or the function of a file. * created​At [Date​Time!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime) non-null The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. * file​Errors [\[File​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/FileError) non-null Any errors that have occurred on the file. * file​Status [File​Status!](https://shopify.dev/docs/api/admin-graphql/latest/enums/FileStatus) non-null The status of the file. * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) non-null A globally-unique ID. * preview [Media​Preview​Image](https://shopify.dev/docs/api/admin-graphql/latest/objects/MediaPreviewImage) The preview image for the media. * updated​At [Date​Time!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime) non-null The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. *** ##### Variables ```json { "alt": "", "createdAt": "", "fileErrors": "", "fileStatus": "", "id": "", "preview": "", "updatedAt": "" } ``` ##### Schema ```graphql interface File { alt: String createdAt: DateTime! fileErrors: [FileError!]! fileStatus: FileStatus! id: ID! preview: MediaPreviewImage updatedAt: DateTime! } ```