cURL
curl --request GET \ --url https://console.vast.ai/api/v0/auth/apikeys/ \ --header 'Authorization: Bearer <token>'
{ "apikeys": [ { "id": 123, "user_id": 456, "rights": "read", "team_id": 789, "team_name": "Team Alpha" } ] }
Retrieves all API keys associated with the authenticated user.
CLI Usage: vastai show api-keys
vastai show api-keys
API key must be provided in the Authorization header
API keys successfully retrieved
Show child attributes
123
456
"read"
789
"Team Alpha"