agent adl file list
List files in an Agentforce Data Library.
Returns the list of files in an SFDRIVE library including file name, size, and creation date.
| 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). |
‑‑offset | N/A | Type: Value Number of files to skip before returning results (for pagination). |
‑‑page‑size | N/A | Type: Value Default value: 50Number of files to return per page (1-200, default 50). |
‑‑status | N/A | Type: Value Valid Values: uploaded, indexing, indexed, index_failed, deleting, delete_failedFilter files by indexing status. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
List files in a data library:
List files and output as JSON: