API Keys
List API Keys
Venice APIs
- API Spec
- Rate Limits
- Error Codes
- Chat
- Images
- Audio
- Models
- API Keys
- API Key Rate Limits
- Characters
API Keys
List API Keys
Return a list of API keys.
GET
/
api_keys
Copy
curl --request GET \
--url https://api.venice.ai/api/v1/api_keys \
--header 'Authorization: Bearer <token>'
Copy
{
"object": "list",
"data": [
{
"id": "e28e82dc-9df2-4b47-b726-d0a222ef2ab5",
"description": "Example API Key",
"last6Chars": "2V2jNW",
"createdAt": "2023-10-01T12:00:00.000Z",
"expiresAt": "2023-10-01T12:00:00.000Z",
"lastUsedAt": "2023-10-01T12:00:00.000Z",
"apiKeyType": "ADMIN",
"usage": {
"trailingSevenDays": {
"vcu": "42.2315",
"usd": "10.2424"
}
},
"consumptionLimits": {
"vcu": 100,
"usd": 50
}
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
OK
Available options:
list
List of active API keys
API Key ID
Example:
"e28e82dc-9df2-4b47-b726-d0a222ef2ab5"
Last 6 characters of the API Key
Example:
"2V2jNW"
API Key creation date
Example:
"2023-10-01T12:00:00.000Z"
API Key expiration date
Example:
"2023-10-01T12:00:00.000Z"
API Key last used date
Example:
"2023-10-01T12:00:00.000Z"
API Key type
Available options:
ADMIN
, INFERENCE
Example:
"ADMIN"
API Key description
Example:
"Example API Key"
Copy
curl --request GET \
--url https://api.venice.ai/api/v1/api_keys \
--header 'Authorization: Bearer <token>'
Copy
{
"object": "list",
"data": [
{
"id": "e28e82dc-9df2-4b47-b726-d0a222ef2ab5",
"description": "Example API Key",
"last6Chars": "2V2jNW",
"createdAt": "2023-10-01T12:00:00.000Z",
"expiresAt": "2023-10-01T12:00:00.000Z",
"lastUsedAt": "2023-10-01T12:00:00.000Z",
"apiKeyType": "ADMIN",
"usage": {
"trailingSevenDays": {
"vcu": "42.2315",
"usd": "10.2424"
}
},
"consumptionLimits": {
"vcu": 100,
"usd": 50
}
}
]
}