Skip to content

app.integration_file_links

TableRow level security on

Provider files attached to XOS documents (Section 17 storage: document links and import). A Link keeps the provider's URL and metadata current; an Import also copies the file into the document through the scanned attachment pipeline whenever the provider version changes.

Primary key: id

Columns of app.integration_file_links
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.integration_connections on insert; never accepted from the caller and never changed.References app.organizations.id
integration_connection_iduuidNoStorage connection the file lives in.References app.integration_connections.id
document_iduuidNoXOS document the file is attached to.References app.documents.id
link_modeapp.file_link_modeNoLink or Import.
external_file_idtextNoProvider file identifier.
file_nametextNoFile name as the provider reports it.
mime_typetextYesMIME type as the provider reports it.
size_bytesbigintYesSize in bytes as the provider reports it.
web_urltextYesHTTPS link that opens the file at the provider.
external_versiontextYesProvider revision, ETag or content hash last seen.
external_modified_attimestamp with time zoneYesWhen the provider last changed the file.
attachment_iduuidYesAttachment on the document that imported versions belong to. Set by the runner.References app.attachments.id
last_attachment_version_iduuidYesAttachment version of the latest import, which becomes a document version once it scans Clean.References app.attachment_versions.id
imported_versiontextYesProvider revision of the latest import.
last_imported_attimestamp with time zoneYesWhen the latest import was handed to scanning.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id