Virtual Machine
List virtual machine events
Retrieves a list of all events in a virtual machine's history, which records actions performed on the specified virtual machine. Include the virtual machine ID in the path to retrieve the history of events. For more details on virtual machine events history, see Events history.
get/core/virtual-machines/{vm_id}/events
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{vm_id}/events
- Auth: API key in header api_key
Path parameters
vm_idinteger required
ID of the vm.
Response
Virtual machines event list successfully retrieved.
Example response
{
"status": true,
"message": "Getting VM events success",
"instance_events": [
{
"instance_id": 1129,
"user_id": 5341,
"org_id": 7613,
"time": "2026-05-07T09:21:55Z",
"type": "normal",
"reason": "InstanceCreationRequest",
"object": "example-vm",
"message": "Instance example-vm Creation Request Sent."
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.