GET
/
api_keys
curl --request GET \
  --url https://api.venice.ai/api/v1/api_keys \
  --header 'Authorization: Bearer <token>'
{
  "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"
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
OK
object
enum<string>
required
Available options:
list
data
object[]
required

List of active API keys