GET
/
api
/
v0
/
auth
/
apikeys
/
{id}
/
show api key
curl --request GET \
  --url https://console.vast.ai/api/v0/auth/apikeys/{id}/ \
  --header 'Authorization: Bearer <token>'
"your-api-key-value"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

ID of the API key to retrieve

Required range: x >= 1

Response

API key successfully retrieved

The response is of type string.

Example:

"your-api-key-value"