Search Content on External Storage Action
Searches content stored in files, including images, audio recordings,
video footage, and PDF documents that are stored in external storage systems, and
returns matching files with specific citations.
This action is available in API version 68.0 and later.
This action searches files by meaning, not just exact keywords. For example, a query for "fled" can also return files that mention "absconded" or a video where someone says "ran away." Use it from a flow, an Agentforce agent, or REST API. The Search Files agent action calls this invocable action. For the related Connect REST API, see Search External Storage (POST).
Special Access Rules
To access the Search Content on External Storage action, External Storage Search must be enabled in your org, and the user must have the Search Files in Amazon S3 system permission. For details, see External Storage Search Prerequisites.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/invocableCallContentSearch
- Formats
- JSON
- HTTP Methods
- GET, POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| recordId |
|
| relevanceScore |
|
| searchQuery |
|
Outputs
| Output | Details |
|---|---|
| hasMore |
|
| nextSearchHandle |
|
| results |
|
| totalResults |
|
Example
- GET
-
This example shows how to get the details of the Search Content on External Storage action type.
- POST
-
Here’s a request for the Search Content on External Storage action.Here’s a response for the Search Content on External Storage action.