curl --request GET \
--url https://api.venice.ai/api/v1/api_keys \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"apiKeyType": "ADMIN",
"consumptionLimits": {
"usd": 50,
"diem": 10,
"vcu": 30
},
"createdAt": "2023-10-01T12:00:00.000Z",
"description": "Example API Key",
"expiresAt": "2023-10-01T12:00:00.000Z",
"id": "e28e82dc-9df2-4b47-b726-d0a222ef2ab5",
"last6Chars": "2V2jNW",
"lastUsedAt": "2023-10-01T12:00:00.000Z",
"usage": {
"trailingSevenDays": {
"usd": "10.2424",
"vcu": "42.2315",
"diem": "4.2231"
}
}
}
],
"object": "list"
}
Return a list of API keys.
curl --request GET \
--url https://api.venice.ai/api/v1/api_keys \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"apiKeyType": "ADMIN",
"consumptionLimits": {
"usd": 50,
"diem": 10,
"vcu": 30
},
"createdAt": "2023-10-01T12:00:00.000Z",
"description": "Example API Key",
"expiresAt": "2023-10-01T12:00:00.000Z",
"id": "e28e82dc-9df2-4b47-b726-d0a222ef2ab5",
"last6Chars": "2V2jNW",
"lastUsedAt": "2023-10-01T12:00:00.000Z",
"usage": {
"trailingSevenDays": {
"usd": "10.2424",
"vcu": "42.2315",
"diem": "4.2231"
}
}
}
],
"object": "list"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.