Skip to main content
GET
/
api
/
admin
/
api-keys
Get API keys
curl --request GET \
  --url https://{cluster_id}.on-hellgate.cloud/api/admin/api-keys \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "created_at": "2023-10-01T12:00:00Z",
      "masked_key_value": "key_123xxxx",
      "scopes": [
        "admin:api-keys:create",
        "admin:api-keys:update"
      ]
    }
  ],
  "links": {
    "next": "https://my-cluster-id.on-hellgate.cloud/admin/api-keys?after=123e4567-e89b-12d3-a456-426614174000&limit=20"
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

after
string<uuid>

The ID of the API key after which to start listing. This is used for pagination.

limit
integer
default:20
Required range: 1 <= x <= 100

Response

Success response

data
object[]
required