curl --request GET \
--url https://api.venice.ai/api/v1/api_keys/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"apiKeyType": "ADMIN",
"consumptionLimits": {
"usd": 50,
"diem": 10
},
"createdAt": {},
"description": "Example API Key",
"expiresAt": {},
"id": "e28e82dc-9df2-4b47-b726-d0a222ef2ab5",
"last6Chars": "2V2jNW",
"lastUsedAt": {},
"usage": {
"trailingSevenDays": {
"usd": "10.2424",
"vcu": "42.2315",
"diem": "4.2231"
}
}
}
}Return details about a specific API key, including rate limits and balance data.
curl --request GET \
--url https://api.venice.ai/api/v1/api_keys/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"apiKeyType": "ADMIN",
"consumptionLimits": {
"usd": 50,
"diem": 10
},
"createdAt": {},
"description": "Example API Key",
"expiresAt": {},
"id": "e28e82dc-9df2-4b47-b726-d0a222ef2ab5",
"last6Chars": "2V2jNW",
"lastUsedAt": {},
"usage": {
"trailingSevenDays": {
"usd": "10.2424",
"vcu": "42.2315",
"diem": "4.2231"
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the API key to retrieve
OK
API key details
Show child attributes
API Key type
INFERENCE, ADMIN "ADMIN"
The API Key consumption limits for each epoch.
{ "usd": 50, "diem": 10, "vcu": 30 }API Key creation date
"2023-10-01T12:00:00.000Z"
API Key expiration date
"2023-10-01T12:00:00.000Z"
API Key ID
"e28e82dc-9df2-4b47-b726-d0a222ef2ab5"
Last 6 characters of the API Key
"2V2jNW"
API Key last used date
"2023-10-01T12:00:00.000Z"
API Key description
"Example API Key"
Show child attributes
Show child attributes
USD usage in the trailing 7 days
"10.2424"
VCU usage in the trailing 7 days (deprecated - use Diem instead)
"42.2315"
Diem usage in the trailing 7 days
"4.2231"