Skip to main content
GET
/
auth
/
keys
List user's API keys
curl --request GET \
  --url http://localhost:3000/auth/keys \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "key_prefix": "<string>",
      "name": "<string>",
      "permissions": {
        "read": true,
        "write": true,
        "admin": true
      },
      "scope": {},
      "status": "active",
      "created_at": "2023-11-07T05:31:56Z",
      "last_used": "2023-11-07T05:31:56Z",
      "rate_limit": 123
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: zdb_your_api_key_here

Response

List of API keys

success
boolean
data
object[]