masv
v0.0.7Provides tools to use MASV API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_packages List team packages
Get team packages. These are packages sent by MASV team users directly to MASV. It does not include packages sent to Portals. To get full list of packages you need to get both team packages and portal packages
| Parameter | Type | Description |
|---|---|---|
created_at_end | string | Retrieve records that were created before (YYYY-MM-DDTHH:mm:SS) |
created_at_start | string | Retrieve records that were created after (YYYY-MM-DDTHH:mm:SS) |
expiry_end | string | Retrieve records that expire before (YYYY-MM-DDTHH:mm:SS) |
expiry_start | string | Retrieve records that expire after (YYYY-MM-DDTHH:mm:SS) |
extra_storage | boolean | If true, will only include packages which will or have already incurred extended storage costs |
limit | number | Number of records returned per page |
name | string | Filter packages by name |
page | number | Page number of paginated response. First page is 1 |
sender | string | Filter packages by sender email |
sort | string | Sort results ascending (fieldname) or descending (-fieldname) |
status | array | Select packages with status. New - package is currently uploading and not ready for view/download yet, finalized - package was uploaded and is ready for download, view, or transfer to another storage… |
tags | array | Filter packages by tag id. If any of provided tag ids match package will be returned |
teamspaces | array | Retrieve records where teamspace id is equal to one of these values |
get_package Get package details
Get package by id
| Parameter | Type | Description |
|---|---|---|
packageId * | string | Id of the package to retrieve |
get_portal_packages List packages received through portals
Get portal packages. These are packages uploaded by anyone to MASV Portals. Only packages that were uploaded to Portals returned by this tool. To get full list of packages you need to get both team packages and portal packages.
| Parameter | Type | Description |
|---|---|---|
created_at_end | string | Retrieve records that were created before (YYYY-MM-DDTHH:mm:SS) |
created_at_start | string | Retrieve records that were created after (YYYY-MM-DDTHH:mm:SS) |
expiry_end | string | Retrieve records that expire before (YYYY-MM-DDTHH:mm:SS) |
expiry_start | string | Retrieve records that expire after (YYYY-MM-DDTHH:mm:SS) |
extra_storage | boolean | If true, will only include packages which will or have already incurred extended storage costs |
limit | number | Number of records returned per page |
name | string | Filter packages by name |
page | number | Page number of paginated response. First page is 1 |
portal | string | Retrieve records that belongs to the specified portal name |
sender | string | Filter packages by sender email |
sort | string | Sort results ascending (fieldname) or descending (-fieldname) |
status | array | Select packages with status. New - package is currently uploading and not ready for view/download yet, finalized - package was uploaded and is ready for download, view, or transfer to another storage… |
tags | array | Filter packages by tag id. If any of provided tag ids match package will be returned |
teamspaces | array | Retrieve records where teamspace id is equal to one of these values |
get_package_files List files in a package
Get list of package files
| Parameter | Type | Description |
|---|---|---|
packageId * | string | Id of the package to retrieve files for |
get_package_transfers List package deliveries to storage
Get all transfers of a package to storage. Transfer is a package delivery via MASV to cloud or on-premise (via MASV Storage Gateway) destination
| Parameter | Type | Description |
|---|---|---|
packageId * | string | Id of the package to retrieve transfers for. Transfer is a package delivery via MASV to cloud or on-premise (via MASV Storage Gateway) destination |
update_package_expiration_date_and_time Change when a package expires
Update package expiration date and time. Also allows enable or disable unlimited storage. Additional package storage may incur charges, depending on your team subscription plan. Once expired the package and all of its files are deleted and can not be restored.
| Parameter | Type | Description |
|---|---|---|
packageId * | string | Id of the package to update expiry date for |
unlimited_storage * | boolean | Specifies if unlimited storage is enabled or disabled for a package. If disabling unlimited storage expiry parameter must be set |
expiry | string | The date and time on which the package will expire in UTC (ISO 8601 format). When setting expiry unlimited_storage parameter should be false |
delete_package Delete a package
Delete a package by ID. This permanently removes the package and all its files and cannot be undone. Requires MASV_ALLOW_DELETE=true environment variable to be set.
| Parameter | Type | Description |
|---|---|---|
packageId * | string | Id of the package to delete |
get_activities List activity history
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)
| Parameter | Type | Description |
|---|---|---|
activity_states | array | Retrieve records that has any of the specified activity states |
activity_types | array | 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… |
created_at_end | string | Retrieve records that were created before (YYYY-MM-DDTHH:mm:SS) |
created_at_start | string | Retrieve records that were created after (YYYY-MM-DDTHH:mm:SS) |
limit | number | Number of records returned per page |
package_id | string | Retrieve records that belongs to the specified package ID |
page | number | Page number of paginated response. First page is 1 |
portals | array | Retrieve records that belong to any of the specified portal IDs |
sort | string | Sort results ascending (fieldname) or descending (-fieldname) |
teamspaces | array | Retrieve records where teamspace id is equal to one of these values |
get_activity_events Get an activity's event history
Get history of events for given activity. Activity gets event record every time it transitions to a new state. It is very useful to get events history to get more information about activity because it can transition states several times and activity only keeps track of its current state.
| Parameter | Type | Description |
|---|---|---|
activityId * | string | Id of the activity to retrieve events for |
get_activities_information Explain MASV activities and states
Get detailed information about all existing activities and their accurate states description. Always use this tool provide users with detailed explanation about activities and their states.
get_integrations List connected storage
Get list of connected integrations. Integration could be cloud or on-prem system like AWS S3, Frame.io, Dropbox, MASV Storage Gateway and many others
send_package_to_integration Deliver a package to storage
Send MASV package to connected integration. Integration could be cloud or on-prem system like AWS S3, Frame.io, Dropbox, MASV Storage Gateway and many others
| Parameter | Type | Description |
|---|---|---|
integrationId * | string | Id of the integration to transfer package to. Integration should have direction: masv_to_cloud. |
packageId * | string | Id of the package that will be transferred to connected integration |
list_files_on_integration Browse files in connected storage
List files on any integration (cloud or MASV Storage Gateway). Supports pagination — if more results are available, a cursor is returned; pass it back in the next call to get the next page.
| Parameter | Type | Description |
|---|---|---|
integrationId * | string | ID of the cloud or storage gateway integration |
cursor | string | Pagination cursor returned from a previous call. Pass this to retrieve the next page of results. |
path | string | Directory path/prefix to list files from |
transfer_files_from_integration Create a package from files in storage
Transfer files from a cloud integration (AWS S3, Azure, Dropbox, etc.) or MASV Storage Gateway to MASV. Creates a new package and initiates the transfer. Use list_files_on_integration first to get file information including IDs.
| Parameter | Type | Description |
|---|---|---|
files * | array | Array of files/directories to transfer from the integration |
integrationId * | string | ID of the cloud or storage gateway integration |
packageName * | string | Name for the new package |
accessLimit | number | Download access limit (default: 5) |
notifyEmail | string | Email to notify on transfer completion |
packageDescription | string | Description for the package |
recipients | array | Email addresses to send package to |
get_portals List portals
Get list of portals that belong to the team. Portals are used to collect files from external users. Each portal has a unique subdomain and can be configured with various settings like upload and download password, file type restrictions, connected integrations, metadata forms, etc.
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of records returned per page |
name | string | Filter portals by name |
page | number | Page number of paginated response. First page is 1 |
sort | string | Sort results by field. Use field name for ascending order or prefix with '-' for descending (e.g., 'name' or '-created_at') |
subdomain | string | Filter portals by subdomain |
tags | array | Filter portals by tag id. If any of provided tag ids match portal will be returned |
teamspaces | array | Retrieve records where teamspace id is equal to one of these values |
get_portal Get portal details
Get a specific portal by ID. Returns detailed information about the portal including its configuration, recipients, connected integrations, and settings.
| Parameter | Type | Description |
|---|---|---|
portalId * | string | Id of the portal to retrieve |
create_portal Create a portal to collect files
Create a new portal for collecting files from external users. Portals can be configured with access codes, download passwords, file type restrictions, custom branding, connected integrations, and more. Only 'name' and 'subdomain' are required - all other settings are optional.
| Parameter | Type | Description |
|---|---|---|
name * | string | Portal name |
subdomain * | string | Portal subdomain (3-53 characters) |
access_code | string | Access code for portal (required if has_access_code is true) |
access_level | string | Portal access level: 'regular' for public access, 'private' for restricted access |
access_list | array | Array of membership IDs for users with direct access to private portal. Use get_team_members to retrieve membership IDs |
active | boolean | Whether portal is active and accepting uploads |
background_url | string | URL of background image for portal |
cc_recipients | array | Email addresses that receive carbon copy notifications without download link |
custom_expiry_days | integer | Custom expiry days for packages (-1 for unlimited) |
disable_upload_receipt | boolean | Disable email receipt to uploader |
download_password | string | Download password (required if has_download_password is true) |
download_user_authentication_required | boolean | Whether users must authenticate to download |
expiry | string | Portal expiry date (ISO 8601 format). This parameter is required when expiry_enabled: true |
expiry_enabled | boolean | Whether portal expiry is enabled. If set to true, need to also provide expiry parameter, e.g. expiry: '2027-01-01' |
file_type_restriction_enabled | boolean | Whether file type restrictions are enabled |
file_type_restriction_exclude | boolean | Whether to exclude (true) or include (false) specified file types |
file_types | array | Allowed/excluded file extensions prefixed with dots (e.g., ['.mp4', '.mov']) |
has_access_code | boolean | Whether portal requires an access code to upload (if true, you also need to specify access_code parameter) |
has_download_password | boolean | Whether portal packages require password to download (if true, you also need to specify download_password parameter) |
logo_url | string | URL of logo image for portal |
max_file_count | integer | Maximum number of files per upload (0 for unlimited). Only works when package_size_restriction_enabled: true |
max_file_size | integer | Maximum file size in bytes (0 for unlimited). Only works when package_size_restriction_enabled: true |
max_package_size | integer | Maximum package size in bytes (0 for unlimited). Only works when package_size_restriction_enabled: true |
message | string | Welcome message displayed on portal |
package_name_format | object | Custom package naming format configuration (required when package_name_format_enabled is true) |
package_name_format_enabled | boolean | Whether custom package naming format is enabled |
package_size_restriction_enabled | boolean | Whether package size restrictions are enabled. Set to true in order to set max_file_count, max_file_size or max_package_size |
primary_color | string | Primary color for portal branding (hex color code) |
recipients | array | Email addresses that receive notifications for portal uploads |
teamspace_id | string | ID of teamspace to associate portal with |
terms_of_service | object | Terms of service configuration (required when terms_of_service_enabled is true) |
terms_of_service_enabled | boolean | Whether terms of service acceptance is required to upload to the portal |
user_authentication_required | boolean | Whether to restrict Portal upload to only team users with proper access. Users must authenticate to upload |
update_portal Update a portal
Update an existing portal's configuration. Use this to modify portal settings like access controls, branding, file restrictions, and more.
| Parameter | Type | Description |
|---|---|---|
name * | string | Portal name |
portalId * | string | ID of the portal to update |
subdomain * | string | Portal subdomain (3-53 characters) |
access_code | string | Access code for portal (required if has_access_code is true) |
access_level | string | Portal access level: 'regular' for public access, 'private' for restricted access |
access_list | array | Array of membership IDs for users with direct access to private portal. Use get_team_members to retrieve membership IDs |
active | boolean | Whether portal is active and accepting uploads |
background_url | string | URL of background image for portal |
cc_recipients | array | Email addresses that receive carbon copy notifications without download link |
custom_expiry_days | integer | Custom expiry days for packages (-1 for unlimited) |
disable_upload_receipt | boolean | Disable email receipt to uploader |
download_password | string | Download password (required if has_download_password is true) |
download_user_authentication_required | boolean | Whether users must authenticate to download |
expiry | string | Portal expiry date (ISO 8601 format). This parameter is required when expiry_enabled: true |
expiry_enabled | boolean | Whether portal expiry is enabled. If set to true, need to also provide expiry parameter, e.g. expiry: '2027-01-01'. |
file_type_restriction_enabled | boolean | Whether file type restrictions are enabled |
file_type_restriction_exclude | boolean | Whether to exclude (true) or include (false) specified file types |
file_types | array | Allowed/excluded file extensions prefixed with dots (e.g., ['.mp4', '.mov']) |
has_access_code | boolean | Whether portal requires an access code to upload (if true, you also need to specify access_code parameter) |
has_download_password | boolean | Whether portal packages require password to download (if true, you also need to specify download_password parameter) |
logo_url | string | URL of logo image for portal |
max_file_count | integer | Maximum number of files per upload (0 for unlimited). Only works when package_size_restriction_enabled: true. |
max_file_size | integer | Maximum file size in bytes (0 for unlimited). Only works when package_size_restriction_enabled: true. |
max_package_size | integer | Maximum package size in bytes (0 for unlimited). Only works when package_size_restriction_enabled: true. |
message | string | Welcome message displayed on portal |
package_name_format | object | Custom package naming format configuration (required when package_name_format_enabled is true) |
package_name_format_enabled | boolean | Whether custom package naming format is enabled |
package_size_restriction_enabled | boolean | Whether package size restrictions are enabled. Set to true in order to set max_file_count, max_file_size or max_package_size |
primary_color | string | Primary color for portal branding (hex color code) |
recipients | array | Email addresses that receive notifications for portal uploads |
teamspace_id | string | ID of teamspace to associate portal with |
terms_of_service | object | Terms of service configuration (required when terms_of_service_enabled is true) |
terms_of_service_enabled | boolean | Whether terms of service acceptance is required |
user_authentication_required | boolean | Whether to restrict Portal upload to only team users with proper access. Users must authenticate to upload |
delete_portal Delete a portal
Delete a portal by ID. This permanently removes the portal and cannot be undone. Packages that were uploaded to this portal will remain accessible. Requires MASV_ALLOW_DELETE=true environment variable to be set.
| Parameter | Type | Description |
|---|---|---|
portalId * | string | Id of the portal to delete |
get_team_members List team members
Get list of all team members. Returns member details including id (membership_id), email, name, policy, approval status, and teamspaces. Use this to get membership IDs needed for portal access_list when creating private portals.