Source: https://atomicwork-preview.docs-staging.pageloop.ai/api-reference/assets/getapi-v-1-assets-asset-id-activities

# Get Asset Activities

GET `https://{tenant}.atomicwork.com/api/v1/assets/{asset_id}/activities`

## Authorization

#### X-Api-Key (header, string, required)

## Headers

#### X-Workspace-Id (header, string)

## Path Parameters

#### asset\_id (path, integer, required)

assetId

## Query Parameters

#### page (query, integer, required)

#### per\_page (query, integer)

#### next\_page\_token (query, string)

#### source (query, string)

Optional. When provided (e.g. "KANDJI", "MS\_INTUNE", "JAMF"), returns the activity
log of that integration's source-original ledger row instead of the unified row's
activity log. Source-original entries capture each individual sync's changes;
unified entries capture derive-driven aggregations. Returns 404 if the asset has no
contribution from the requested source.

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X GET 'https://{tenant}.atomicwork.com/api/v1/assets/{asset_id}/activities' \
  -H 'X-Api-Key: <api-key>'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/assets/{asset_id}/activities', {
  method: 'GET',
  headers: {
    'X-Api-Key': '<api-key>',
  },
});
const data = await res.json();
```

```python Python
import requests

res = requests.get(
    'https://{tenant}.atomicwork.com/api/v1/assets/{asset_id}/activities',
    headers={'X-Api-Key': '<api-key>'}
)
data = res.json()
```
