Virtual Machine
Get virtual machine logs
Retrieves the console logs for a specific virtual machine (VM) in Hyperstack. A virtual machine must be in the ACTIVE state to retrieve logs. To use this endpoint, include the VM's unique identifier (vm_id) in the path and the request_id obtained from the Request Virtual Machine Logs API as a query parameter.
get/core/virtual-machines/{vm_id}/logs
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{vm_id}/logs
- Auth: API key in header api_key
Path parameters
vm_idinteger required
ID of the vm.
Query parameters
request_idinteger required
Filter logs to a specific request ID, useful for tracing a single API call's execution end-to-end.
Response
Logs were successfully retrieved
Changes
No recorded changes to this operation across all 1 revision of this API.