> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Accounts

Get a list of all accounts in the vault.

**Required Permissions for using this action**:

* `List Accounts`

<Note>
  External Documentation

  To learn more, visit the [CyberArk documentation](https://docs.cyberark.com/pam-self-hosted/latest/en/content/sdk/getaccounts.htm).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter       | Description                                                                                            |
  | --------------- | ------------------------------------------------------------------------------------------------------ |
  | Search Keywords | A list of keywords to search accounts by, separated by a space.                                        |
  | Search Type     | Get accounts that either contain or start with the value specified in the `Search Keywords` parameter. |
  | Sort            | The property by which to sort the retrieved results.                                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter    | Description                                                                                                                                                                                                                                                                                                                                                         |
  | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filter       | Filter account records by specific attributes and types in a standard REST query format.<br /><br />Available fields to search by:<br />- `safeName`<br />- `modificationTime`<br />- `secretModificationTime`<br /><br />Examples:<br />- `safeName contains admin` - Find safes with "admin" in name.<br />- `safeName eq Administrator` - Find exact name match. |
  | Limit        | The maximum number of items to retrieve per request (zero-based).                                                                                                                                                                                                                                                                                                   |
  | Offset       | The index of the first result to retrieve.                                                                                                                                                                                                                                                                                                                          |
  | Saved Filter | Filter accounts by a saved filter.                                                                                                                                                                                                                                                                                                                                  |
</div>

## Example Output

```json theme={"dark"}
{
  "id": "string",
  "name": "string",
  "address": "string",
  "userName": "string",
  "platformId": "string",
  "safeName": "string",
  "secretType": "key",
  "platformAccountProperties": {},
  "secretManagement": {
    "automaticManagementEnabled": true,
    "manualManagementReason": "string",
    "status": "inProcess",
    "lastModifiedTime": 0,
    "lastReconciledTime": 0,
    "lastVerifiedTime": 0
  },
  "remoteMachinesAccess": {
    "remoteMachines": "string",
    "accessRestrictedToRemoteMachines": true
  },
  "createdTime": 0
  "categoryModificationTime": 111111111111111111111
}
```

## Workflow Library Example

[List Accounts with Cyberark and Send Results Via Email](https://library.blinkops.com/workflows/list-accounts-with-cyberark-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-accounts-with-cyberark-and-send-results-via-email/canvas" />
</div>
