> ## 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 Account Activities

Retrieve a list of account activity collections.

**Required permission:** `sp:scopes:all`

<Note>
  External Documentation

  To learn more, visit the [SailPoint documentation](https://developer.sailpoint.com/docs/api/v3/list-account-activities).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                                                                                                                           |
  | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filters   | The account properties to filter results by.<br /><br />**Note:** For more information about the filtering syntax refer to the [SailPoint documentation](https://developer.sailpoint.com/docs/api/standard-collection-parameters/#filtering-results). |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                    |
  | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Limit              | The maximum number of results to return.                                                                                                                                                                                                                                                                                                                       |
  | Offset             | The number of results to skip before returning items.                                                                                                                                                                                                                                                                                                          |
  | Regarding Identity | The identity to retrieve activities for. Shows activities where the identity is the requester or the target.<br /><br />**Note:** You cannot use this parameter if `Requested By` or `Requested For` are set.                                                                                                                                                  |
  | Requested By       | The identity to retrieve account activities by. Shows only activities performed by this identity.<br /><br />**Note:** <br />\* You cannot use this parameter if `Regarding Identity` is set.<br />\* The input `me` can be used to refer to the current user.                                                                                                 |
  | Requested For      | The identity to retrieve account activities for. Shows only activities performed by this identity.<br /><br />**Note:** <br />\* You cannot use this parameter if `Regarding Identity` parameter is set.<br />\* The input `me` can be used to refer to the current user.                                                                                      |
  | Sorters            | A comma-separated list of fields to sort the account activities by.<br /><br />Supported fields:<br />\* `type`<br />\* `created`<br />\* `modified`.<br /><br />**Note:** For more information about the filtering syntax refer to the [SailPoint documentation](https://developer.sailpoint.com/docs/api/standard-collection-parameters/#filtering-results). |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "2c9180835d2e5168015d32f890ca1581",
		"name": "2c9180835d2e5168015d32f890ca1581",
		"created": "2017-07-11T18:45:37.098Z",
		"modified": "2018-06-25T20:22:28.104Z",
		"completed": "2018-10-19T13:49:37.385Z",
		"completionStatus": "SUCCESS",
		"type": "appRequest",
		"requesterIdentitySummary": {
			"id": "ff80818155fe8c080155fe8d925b0316",
			"name": "SailPoint Services",
			"identityId": "c15b9f5cca5a4e9599eaa0e64fa921bd",
			"completed": true
		},
		"targetIdentitySummary": {
			"id": "ff80818155fe8c080155fe8d925b0316",
			"name": "SailPoint Services",
			"identityId": "c15b9f5cca5a4e9599eaa0e64fa921bd",
			"completed": true
		},
		"errors": [
			"sailpoint.connector.ConnectorException: java.lang.InterruptedException: Timeout waiting for response to message 0 from client 57a4ab97-ab3f-4aef-9fe2-0eaf15c73d26 after 60 seconds."
		],
		"warnings": [
			"Some warning, another warning"
		],
		"items": [
			{
				"id": "48c545831b264409a81befcabb0e3c5a",
				"name": "48c545831b264409a81befcabb0e3c5a",
				"requested": "2017-07-11T18:45:37.098Z",
				"approvalStatus": "PENDING",
				"provisioningStatus": "PENDING",
				"requesterComment": {
					"commenterId": "2c918084660f45d6016617daa9210584",
					"commenterName": "Adam Kennedy",
					"body": "Et quam massa maximus vivamus nisi ut urna tincidunt metus elementum erat.",
					"date": "2017-07-11T18:45:37.098Z"
				},
				"reviewerIdentitySummary": {
					"id": "ff80818155fe8c080155fe8d925b0316",
					"name": "SailPoint Services",
					"identityId": "c15b9f5cca5a4e9599eaa0e64fa921bd",
					"completed": true
				},
				"reviewerComment": {
					"commenterId": "2c918084660f45d6016617daa9210584",
					"commenterName": "Adam Kennedy",
					"body": "Et quam massa maximus vivamus nisi ut urna tincidunt metus elementum erat.",
					"date": "2017-07-11T18:45:37.098Z"
				},
				"operation": "ADD",
				"attribute": "detectedRoles",
				"value": "Treasury Analyst [AccessProfile-1529010191212]",
				"nativeIdentity": "Sandie.Camero",
				"sourceId": "2c91808363ef85290164000587130c0c",
				"accountRequestInfo": {
					"requestedObjectId": "2c91808563ef85690164001c31140c0c",
					"requestedObjectName": "Treasury Analyst",
					"requestedObjectType": "ACCESS_PROFILE"
				},
				"clientMetadata": {
					"customKey1": "custom value 1",
					"customKey2": "custom value 2"
				},
				"removeDate": "2020-07-11T00:00:00Z"
			}
		],
		"executionStatus": "COMPLETED",
		"clientMetadata": {
			"customKey1": "custom value 1",
			"customKey2": "custom value 2"
		}
	}
]
```

## Workflow Library Example

[List Account Activities with Sailpoint and Send Results Via Email](https://library.blinkops.com/workflows/list-account-activities-with-sailpoint-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-account-activities-with-sailpoint-and-send-results-via-email/canvas" />
</div>
