Levain LabsLevain Labs
API ReferenceAuthentication

List Api Keys

List all API keys for workspace.

GET
/api/v1/auth/api-keys

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

X-API-Key?|

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/auth/api-keys"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "key": "string",
    "is_active": true,
    "last_used_at": "2019-08-24T14:15:22Z",
    "created_at": "2019-08-24T14:15:22Z"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}