Get virtual machine logs
GET/core/virtual-machines/:vm_id/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.
Request
Responses
- 200
- 400
- 401
- 404
- 405
- 500
Logs were successfully retrieved
Bad Request
Unauthorized
Not Found
Method Not Allowed
Internal Server Error
Was this page helpful?