API Reference
Instances
Request Logs
2min
PUT
PATH PARAMETERS
id
integer
*Example: 123456
ID of the instance to request logs from
QUERY PARAMETERS
api_key
string
*Example: API-Key
BODY PARAMETERS
body
RequestLogsRequestBody
tail
string
Example: 1000
Number of lines to show from the end of the logs
RESPONSES
200
Logs Requested Successfully
RequestLogsResponse
success
boolean
Example: true
temp_download_url
string<uri>
Example: https://s3.amazonaws.com/vast.ai/instance_logs/c919c0f806c7b084cc077e65832f9042.log
URL to download the relevant logs
msg
string
Example: View the download url containing the relevant logs in a few seconds

Updated 20 Jul 2023
Did this page help you?