---
title: FileEntity
framework: appintents
role: symbol
role_heading: Protocol
path: appintents/fileentity
---

# FileEntity

An entity that refers to a document or other file.

## Declaration

```swift
protocol FileEntity : AppEntity where Self.ID == FileEntityIdentifier
```

## Topics

### Type Properties

- [supportedContentTypes](appintents/fileentity/supportedcontenttypes.md)

## Relationships

### Inherits From

- [AppEntity](appintents/appentity.md)
- [AppValue](appintents/appvalue.md)
- [CustomLocalizedStringResourceConvertible](foundation/customlocalizedstringresourceconvertible.md)
- [DisplayRepresentable](appintents/displayrepresentable.md)
- [Identifiable](swift/identifiable.md)
- [InstanceDisplayRepresentable](appintents/instancedisplayrepresentable.md)
- [PersistentlyIdentifiable](appintents/persistentlyidentifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [TypeDisplayRepresentable](appintents/typedisplayrepresentable.md)

## See Also

### App entity types

- [AppEntity](appintents/appentity.md)
- [IndexedEntity](appintents/indexedentity.md)
- [SyncableEntity](appintents/syncableentity.md)
- [TransientAppEntity](appintents/transientappentity.md)
- [UniqueAppEntity](appintents/uniqueappentity.md)
- [OwnershipProvidingEntity](appintents/ownershipprovidingentity.md)
- [UnionValue()](appintents/unionvalue().md)
- [AppUnionValue](appintents/appunionvalue.md)
- [AppUnionValueCasesProviding](appintents/appunionvaluecasesproviding.md)
