Skip to main content
GET
/
v1
/
keys
List API keys
curl --request GET \
  --url http://localhost:8080/v1/keys \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "key_prefix": "<string>",
      "scopes": [
        "<string>"
      ],
      "last_used_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key with mk_ or rk_ prefix

Response

200 - application/json

Key list (never returns full key values)

keys
object[]