External Storage Search Result

Describes a single document that matched an external storage search, including where the content lives, why it matched, and how it maps back to a Salesforce record.

Property NameTypeDescriptionFilter Group and VersionAvailable Version
contentDocumentIdsString[]Salesforce ContentDocument IDs associated with this result. A single external file can map to more than one ContentDocument when multiple orgs stamp the same S3 object.Big, 68.068.0
contentTypeStringMIME content type of the matched document, such as application/pdf.Big, 68.068.0
endTimeMsLongEnd of the matching segment for audio or video content, in milliseconds from the start of the file. Null for non-media content.Big, 68.068.0
excerptStringSnippet of text from the document that shows the matched content in context.Big, 68.068.0
externalDocumentInfo2StringS3 URI that maps to ContentVersion.ExternalDocumentInfo2. Use this value to find the Salesforce record that corresponds to the external document.Big, 68.068.0
pageNumberIntegerOne-based page or slide number where the match was found. Populated for paged formats such as PDF and presentations; null for non-paged content.Big, 68.068.0
relevanceScoreDoubleRelevance of the match on a scale from 0.0 to 1.0, where 1.0 is the most relevant.Big, 68.068.0
sourceUrlStringFull source URL for the matched document.Big, 68.068.0
startTimeMsLongStart of the matching segment for audio or video content, in milliseconds from the start of the file. Null for non-media content.Big, 68.068.0
titleStringDocument title as returned by the search provider.Big, 68.068.0