Skip to main content
Show details of an API key.

Signature

VastAI.show_api_key(
    id: int
) -> dict

Parameters

id
int
required
id of apikey to get

Returns

dict

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.show_api_key(id=12345)
print(result)