FilesPropertySpec

Represents a files property specification in a Notion database. This property allows users to attach and manage files within database pages.

Files properties support:

  • Multiple file attachments per property

  • Various file types (images, documents, PDFs, etc.)

  • File previews in the database view

  • File uploads from local storage or external URLs

  • File management (rename, delete, replace)

Files can be uploaded directly to Notion or linked from external sources. The property can be used for filtering and sorting in database views.

See also

Properties

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.