Machines
Headers
Query Parameters
Success Response Example
{
"machines": [
{
"id": "100",
"type": "machine",
"attributes": {
"name": "Computer #100",
"last_session_start_at": "2026-01-23T11:02:41.902Z",
"auto_stop_threshold": 900,
"file_storage_size": 25,
"disk_size": 75,
"network_credit": 10233505675,
"assigned_image_id": 990,
"assigned_image_name": "Template #990",
"region": "dublin",
"machine_type": "Planet",
"remaining_usage": 0,
"deposited_usage": 0,
"friendly_status": "off",
"user": {
"id": "f1592625-edd0-48df-9bc0-de14910ec936",
"type": "user",
"attributes": {
"email": "[email protected]",
"name": "Computer User"
}
},
"permissions": {
"public_internet_access": true,
"can_download_from_vagon_workstation": true,
"analytics_collection_enabled": true,
"clipboard_enabled": true,
"screen_recording_enabled": true,
"input_recording_enabled": true
},
"usage_source": "machine",
"task": {
"id": 42,
"uid": "Project-Alpha",
"created_at": "2026-04-20T09:15:00Z"
}
}
},
{
"id": "101",
"type": "machine",
"attributes": {
"name": "Computer #101",
"last_session_start_at": "2026-01-23T14:12:18.943Z",
"auto_stop_threshold": 900,
"file_storage_size": 250,
"disk_size": 125,
"network_credit": 10338256517,
"assigned_image_id": 991,
"assigned_image_name": "Template #991",
"region": "dublin",
"machine_type": "Planet",
"remaining_usage": 2400,
"deposited_usage": 0,
"user": null,
"permissions": {
"public_internet_access": true,
"can_download_from_vagon_workstation": true,
"analytics_collection_enabled": true,
"clipboard_enabled": true,
"screen_recording_enabled": true,
"input_recording_enabled": true
},
"friendly_status": "off",
"usage_source": "machine",
"task": null
}
}
],
"count": 2,
"page": 1,
"next_page": null,
"client_code": 200,
"message": "OK",
"timestamp": "2026-02-05T10:08:09Z"
}
Success Response Fields
(Optional) Page number. Default: 1
1(Optional) Records per page. Default: 20
20(Optional) Search by user email or machine name
stringList of machines
200OK2026-02-05T10:10:22ZTotal number of machines
9Current page number
1Next page number (null if no more pages)
Bad request
Not found
Insufficient funds
Machine is not ready
Permission required
Headers
Body Parameters
Request Body
{
"plan_id": 1,
"quantity": 1,
"region": "dublin",
"software_ids": [],
"base_image_id": 100,
"permissions": {
"public_internet_access": true,
"can_download_from_vagon_workstation": true,
"analytics_collection_enabled": false,
"clipboard_enabled": true,
"screen_recording_enabled": false,
"input_recording_enabled": false
}
}
Success Response Example
Success Response Fields
Error Responses
Subscription plan ID
Number of machines to create
Region for the machine (e.g., dublin, frankfurt)
List of software IDs to pre-install
Base image ID to use (null for default)
Machines created successfully
200OK2026-02-05T10:10:22Z1Bad request
Plan ID not found
Insufficient balance
Region is required
Permission required
1Auto-stop threshold in seconds. 0 to disable.
Usage source - team_balance or machine
Machine updated successfully
200OK2026-02-05T10:10:22Z719machineBad request (e.g. invalid usage_source)
Machine not found
Permission required
(Required) Machine ID
1Machine started successfully
200OK2026-02-05T10:10:22ZBad request
Machine not found
Insufficient balance
Permission required
(Required) Machine ID
1List of available machine types
200OK2026-02-05T10:10:22ZBad request
Machine not found
Permission required
(Required) Machine ID
1Machine type updated successfully
200OK2026-02-05T10:10:22ZBad request
Machine not found
Machine type is not available for this seat plan
Permission required
(Required) Machine ID
1Machine stopped successfully
200OK2026-02-05T10:10:22ZBad request
Machine not found
Machine is not running
Permission required
Headers
Path Parameters
Body Parameters
Success Response
{
"id": "77",
"type": "machine_external_access",
"attributes": {
"expires_at": "2026-02-05T11:12:42.677Z",
"connection_link": "https://app.vagon.io/team/session/62ba2d60-5ee2-11aa-aa64-957da90ef117"
},
"client_code": 200,
"message": "OK",
"timestamp": "2026-02-05T10:12:42Z"
}
Response Fields
(Required) Machine ID
1Access link created successfully
200OK2026-02-05T10:10:22Z77machine_external_accessBad request
Machine not found
Permission required
(Required) Machine ID
1When true, the VagonFiles folder (computer files) is also wiped as part of the reset. When false (default), VagonFiles are preserved.
falseMachine reset successfully
200OK2026-02-05T10:10:22ZBad request
Machine not found
Machine is running
Permission required
Headers
Path Parameters
Body Parameters
Request Body
{
"permissions": {
"public_internet_access": true,
"can_download_from_vagon_workstation": true,
"analytics_collection_enabled": false,
"clipboard_enabled": true,
"screen_recording_enabled": false,
"input_recording_enabled": false
}
}
Success Response
Error Responses
Notes
(Required) Machine ID
717Permissions updated successfully
200OK2026-02-05T10:10:22ZBad request
Machine not found
Permission required
Headers
Path Parameters
Response Fields
Response Example
{
"sessions": [
{
"id": "2000",
"type": "machine_session",
"attributes": {
"start_at": "2026-01-23T11:02:41.902Z",
"end_at": "2026-01-23T11:07:51.115Z",
"duration": 6
}
},
{
"id": "1999",
"type": "machine_session",
"attributes": {
"start_at": "2026-01-21T22:57:57.450Z",
"end_at": "2026-01-21T22:59:58.408Z",
"duration": 3
}
}
],
"client_code": 200,
"message": "OK",
"timestamp": "2026-02-04T11:55:58Z"
}
(Required) Machine ID
1List of machine sessions
200OK2026-01-28T13:41:54ZBad request
Machine not found
Permission required
Machine ID
1Page number (default: 1)
1Results per page
20List of tasks for the machine
200OK2026-02-05T10:10:22ZTotal number of tasks returned
1Current page number
1Next page number (null if no more pages)
Machine not found or does not belong to the organization
Permission required
Machine ID
1Page number (default: 1)
1Results per page
20Task identifier used as the Desktop folder name. Must not contain Windows-reserved characters.
my-research-projectTask created, reactivated, or already active
200OK2026-02-05T10:10:22ZOutcome of the operation
createdPossible values: Machine not found or does not belong to the organization
Machine is not off — tasks can only be modified when the machine is stopped
Invalid task UID (empty, exceeds 255 characters, or contains reserved characters)
Task UID was previously deleted and cannot be reused
Backup is not enabled for this seat
Permission required
Machine ID
1Task ID
42Task deleted successfully
200OK2026-02-05T10:10:22ZOutcome of the operation
createdPossible values: Task not found, already deleted, or belongs to a different seat
Machine is not off — tasks can only be modified when the machine is stopped
Cannot delete the default "Outputs" task
Permission required
Last updated