Querying for activities
Activities cannot exist on their own. They must be attached to a parent object. In PolicyCenter, activities can be attached to accounts, jobs, or policies.
You can use the following endpoints to GET activities.
Endpoint | Returns |
---|---|
/common/v1/activities |
All activities |
/common/v1/activities/{activityId} |
The activity with the given ID |
/account/v1/accounts/{accountId}/activities |
All activities associated with the given account |
/job/v1/jobs/{jobId}/activities |
All activities associated with the given job |
/policy/v1/policies/{policyId}/activities |
All activities associated with the given policy |