get_activities
Retrieve a paginated list of activities tracking events on MASV resources such as package uploads, downloads, link generation, and transfers. Filter by activity state, type, portal, package ID, or creation date.
Instructions
Get activities. Activities are records of events that happened with MASV resources like packages, links and transfers. Each activity has assosiated events and can be in one of several states: pending, started, complete, cancelled, error. Full list of activity types: package_upload_to_masv (package upload from user or connected storage integration to MASV), package_download_from_masv (user downloads package), link_generation (new download link is added to the package), package_transfer_masv_to_cloud (package transfer from MASV to connected storage integration)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number of paginated response. First page is 1 | |
| limit | No | Number of records returned per page | |
| sort | No | Sort results ascending (fieldname) or descending (-fieldname) | |
| activity_states | No | Retrieve records that has any of the specified activity states | |
| activity_types | No | Retrieve records that has any of the specified activity types. Activities: package_upload_to_masv - package upload from user or connected storage integration to MASV, package_download_from_masv - user downloading package from MASV, link_generation - adding new download link for the package, package_transfer_masv_to_cloud - package transfer to connected storage integration | |
| portals | No | Retrieve records that belong to any of the specified portal IDs | |
| package_id | No | Retrieve records that belongs to the specified package ID | |
| created_at_start | No | Retrieve records that were created after (YYYY-MM-DDTHH:mm:SS) | |
| created_at_end | No | Retrieve records that were created before (YYYY-MM-DDTHH:mm:SS) | |
| teamspaces | No | Retrieve records where teamspace id is equal to one of these values |