Vast.ai API
Instances

show instance

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

Retrieves the details of a specific instance for the authenticated user. This endpoint returns detailed information including SSH connection parameters, instance state, resource utilization, template data, and pricing details.

Authentication
BearerAuth
Path Parameters
id
*
Responses
200
Success response with instance details.
instances
400
Bad Request – Invalid instance ID or invalid arguments.
success
error
msg
401
Unauthorized – Invalid or missing authentication.
success
error
msg
429
Too Many Requests – API requests are too frequent.
detail