Vast.ai API
Instances

show logs

1min
PUT
https://console.vast.ai/api/v0/instances/request_logs/{id}
Production server

Request logs from a specific instance. The logs will be uploaded to S3 and can be retrieved from a generated URL. Supports both container logs and daemon system logs.

CLI Usage: vast logs INSTANCE_ID [--tail LINES] [--filter GREP] [--daemon-logs]

Authentication
BearerAuth
Path Parameters
id
*
Body Parameters
body
tail
filter
daemon_logs
Responses
200
Success response with S3 URL for log retrieval
success
result_url
msg
403
Not authorized
error
msg
404
Instance not found
error
msg