Skip to main content

File Entity

[API Docs] [SDK]

All files uploaded to epilot are represented as File entities, available via the Entity API.

Access Control​

The access_control attribute controls file visibility:

ValueDescription
private (default)Requires authentication to download
public-readAccessible via public_url without authentication

When a File entity is created, updated, or deleted, the underlying S3 object's access control is updated accordingly.

File Relations​

Attaching a file to an entity creates a File entity stored as a relation on the parent entity. Files can be attached via:

  • Upload through the Files Tab
  • File Manager through the Files Tab
  • Document Generation
  • File attribute
  • Image attribute

Versions​

File entities support multiple versions. The latest version is used by default when a File entity is referenced.