MASV Agent API
The MASV Agent Management API (MAPI) controls and manages a local MASV Agent instance. Use it to automate uploads, downloads, and transfer management.
The MASV Agent Management API (MAPI) controls and manages a local MASV Agent instance. Use it to automate uploads, downloads, and transfer management.
Local Agent
Health checks, version info, and service management
The 'about' endpoint returns the system information. The response includes version, build information etc.
curl http://localhost:8080/api/v1/about \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"version": "string",
"build_stamp": "string",
"masv_host": "string",
"backend": {
"hash": "string",
"build_number": "string",
"build_time": "string"
}
}System information
Returns the current version info and the latest version info.
curl http://localhost:8080/api/v1/version_check \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"current_version": {
"version": "string",
"build_stamp": "string",
"masv_host": "string"
},
"latest_version": {}
}System information
curl http://localhost:8080/api/v1/health \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"code": 1
}OK
curl http://localhost:8080/api/v1/validation \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"version": "string",
"rules": {
"user.password": {
"additionalProperty": 1
}
}
}Success
curl http://localhost:8080/api/v1/shutdown \
--request POST \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
{
"code": 1
}Success
Login, logout, signup, and session management
Team membership, credits, subscriptions, and limits
Create, manage, pause, resume, and finalize uploads
Create, manage, pause, and resume downloads
Query and manage all transfers (uploads and downloads)
Retrieve package information for downloads
Browse and query Portal information
Create and manage automated transfer workflows
Rate limits, network interfaces, disk management, and filters
Register and manage Storage Gateway connections
User contact list
Register and manage webhook endpoints for event notifications
Disk speed tests and system diagnostics