Vast.ai API
Accounts

show api key

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

Retrieves an existing API key belonging to the authenticated user.

CLI Usage: vastai show api-key ID

Authentication
BearerAuth
Path Parameters
id
*
Responses
200
API key successfully retrieved
Example
your-api-key-value
401
Unauthorized - Invalid or missing authentication
success
error
msg
403
Forbidden - API key belongs to a different user
msg
404
Not Found - API key does not exist
msg
429
Too Many Requests
detail