agent adl file add (Developer Preview)
Add files to an existing Agentforce Data Library.
This command is available as a developer preview. The command isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don’t implement functionality developed with these commands or tools.
Adds one or more files to an existing SFDRIVE data library and triggers SearchIndex re-hydration. This is the day-2 operation for adding files to an already-provisioned library.
Constraints: at least 1 file required, no duplicate file names in a batch, maximum 1000 files per library.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑library‑id | ‑i | Type: Value Required Agentforce Data Library ID (18-char Salesforce ID with prefix 1JD). |
‑‑path | ‑f | Type: Value Required Path to file(s) to add. Specify multiple times for batch upload. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Add a file to an existing library:
Add multiple files: