---
title: "Get default entitlements"
url: "https://nov18-dev.movespot.fyi/apis/internal-konnect-entitlements-v2-dev-2/versions/8ac3a2ff-729e-4b5c-8bc8-fdd7c238114d/operations/get-default-entitlements-internal"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/internal-konnect-entitlements-v2-dev-2/versions/8ac3a2ff-729e-4b5c-8bc8-fdd7c238114d.md

# Get default entitlements

`GET` `/internal/entitlements/default`

Operation ID: `get-default-entitlements-internal`

Get all the default entitlements

## Responses

- `200` - A list of all entitlements for the organization
- `401` - Unauthorized
- `403` - Forbidden
- `404` - Not Found

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Internal Konnect Entitlements V2
  version: 2.0.5
servers:
  - url: http://entitlements-api.entitlements.svc.cluster.local:8080/v2
    description: Entitlements API server
paths:
  /internal/entitlements/default:
    get:
      operationId: get-default-entitlements-internal
      summary: Get default entitlements
      description: Get all the default entitlements
      responses:
        "200":
          $ref: "#/components/responses/OrgEntitlementsResponse"
        "401":
          $ref: "#/components/responses/Unauthorized"
        "403":
          $ref: "#/components/responses/Forbidden"
        "404":
          $ref: "#/components/responses/NotFound"
      tags:
        - Entitlements
security:
  - systemAccountAccessToken: []
  - personalAccessToken: []
  - konnectAccessToken: []
components:
  responses:
    OrgEntitlementsResponse:
      description: A list of all entitlements for the organization
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/OrgEntitlements"
          examples:
            OrgEntitlementsResponse:
              $ref: "#/components/examples/OrgEntitlements"
    Unauthorized:
      description: Unauthorized
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/UnauthorizedError"
          examples:
            UnauthorizedExample:
              $ref: "#/components/examples/UnauthorizedExample"
    Forbidden:
      description: Forbidden
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/ForbiddenError"
          examples:
            UnauthorizedExample:
              $ref: "#/components/examples/ForbiddenExample"
    NotFound:
      description: Not Found
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/NotFoundError"
          examples:
            NotFoundExample:
              $ref: "#/components/examples/NotFoundExample"
  schemas:
    OrgEntitlements:
      type: object
      properties:
        billing_and_metering:
          $ref: "#/components/schemas/BillingAndMeteringConfig"
        kong_identity:
          $ref: "#/components/schemas/KongIdentityConfig"
        developer_portal:
          $ref: "#/components/schemas/DeveloperPortalConfig"
        catalog:
          $ref: "#/components/schemas/CatalogConfig"
        event_gateway:
          $ref: "#/components/schemas/EventGatewayConfig"
        advanced_analytics:
          $ref: "#/components/schemas/AdvancedAnalyticsConfig"
        ai_gateway:
          $ref: "#/components/schemas/AIGatewayConfig"
        dedicated_cloud_gateway:
          $ref: "#/components/schemas/DedicatedCloudGatewayConfig"
        mesh:
          $ref: "#/components/schemas/MeshConfig"
        self_managed_gateway:
          $ref: "#/components/schemas/SelfManagedGatewayConfig"
        serverless_gateway:
          $ref: "#/components/schemas/ServerlessGatewayConfig"
        kic_gateway:
          $ref: "#/components/schemas/KICGatewayConfig"
        payload_capture:
          $ref: "#/components/schemas/PayloadCaptureConfig"
      required:
        - billing_and_metering
        - kong_identity
        - developer_portal
        - catalog
        - event_gateway
        - advanced_analytics
        - ai_gateway
        - dedicated_cloud_gateway
        - mesh
        - self_managed_gateway
        - serverless_gateway
        - kic_gateway
        - payload_capture
    UnauthorizedError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 401
            title:
              example: Unauthorized
            type:
              example: https://httpstatuses.com/401
            instance:
              example: kong:trace:1234567890
            detail:
              example: Invalid credentials
    ForbiddenError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 403
            title:
              example: Forbidden
            type:
              example: https://httpstatuses.com/403
            instance:
              example: kong:trace:1234567890
            detail:
              example: Forbidden
    NotFoundError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 404
            title:
              example: Not Found
            type:
              example: https://httpstatuses.com/404
            instance:
              example: kong:trace:1234567890
            detail:
              example: Not found
    BillingAndMeteringConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable billing and metering feature
          type: boolean
        resources:
          $ref: "#/components/schemas/BillingAndMeteringResources"
      required:
        - enabled
        - resources
    KongIdentityConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Kong Identity feature
          type: boolean
      required:
        - enabled
    DeveloperPortalConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Developer Portal feature
          type: boolean
        resources:
          $ref: "#/components/schemas/DeveloperPortalResources"
      required:
        - enabled
        - resources
    CatalogConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Catalog feature
          type: boolean
        resources:
          $ref: "#/components/schemas/CatalogResources"
      required:
        - enabled
        - resources
    EventGatewayConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Event Gateway feature
          type: boolean
        resources:
          $ref: "#/components/schemas/EventGatewayResources"
      required:
        - enabled
        - resources
    AdvancedAnalyticsConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Advanced Analytics feature
          type: boolean
      required:
        - enabled
    AIGatewayConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable AI Gateway feature
          type: boolean
      required:
        - enabled
    DedicatedCloudGatewayConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Dedicated Cloud Gateway feature
          type: boolean
      required:
        - enabled
    MeshConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Mesh feature
          type: boolean
        resources:
          $ref: "#/components/schemas/MeshResources"
      required:
        - enabled
        - resources
    SelfManagedGatewayConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Self-Managed Gateway feature
          type: boolean
        resources:
          $ref: "#/components/schemas/SelfManagedGatewayResources"
      required:
        - enabled
        - resources
    ServerlessGatewayConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Serverless Gateway feature
          type: boolean
        resources:
          $ref: "#/components/schemas/ServerlessGatewayResources"
      required:
        - enabled
        - resources
    KICGatewayConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable KIC Gateway feature
          type: boolean
        resources:
          $ref: "#/components/schemas/KICGatewayResources"
      required:
        - enabled
        - resources
    PayloadCaptureConfig:
      type: object
      properties:
        enabled:
          description: Enable or disable Payload Capture feature
          type: boolean
      required:
        - enabled
    BaseError:
      description: standard error
      type: object
      properties:
        status:
          description: >
            The HTTP status code of the error. Useful when passing the response

            body to child properties in a frontend UI. Must be returned as an
            integer.
          type: integer
          readOnly: true
        title:
          description: |
            A short, human-readable summary of the problem. It should not
            change between occurences of a problem, except for localization.
            Should be provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
        type:
          description: The error type.
          type: string
          readOnly: true
        instance:
          description: |
            Used to return the correlation ID back to the user, in the format
            kong:trace:<correlation_id>. This helps us find the relevant logs
            when a customer reports an issue.
          type: string
          readOnly: true
        detail:
          description: >
            A human readable explanation specific to this occurence of the
            problem.

            This field may contain request/entity data to help the user
            understand

            what went wrong. Enclose variable values in square brackets. Should
            be

            provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
      required:
        - status
        - title
        - instance
        - detail
      title: Error
    BillingAndMeteringResources:
      type: object
      properties:
        data_retention_yrs:
          description: Data retention period in years
          type: integer
        event_deduplication_window_hrs:
          description: Event deduplication window in hours
          type: integer
        api_rate_limit_rps:
          description: API rate limit in requests per second
          type: integer
      required:
        - data_retention_yrs
        - event_deduplication_window_hrs
        - api_rate_limit_rps
    DeveloperPortalResources:
      type: object
      properties:
        portal_count:
          description: Number of developer portals
          type: integer
        published_api_count:
          description: Number of published APIs
          type: integer
      required:
        - portal_count
        - published_api_count
    CatalogResources:
      type: object
      properties:
        governed_service_count:
          description: Number of governed services
          type: integer
      required:
        - governed_service_count
    EventGatewayResources:
      type: object
      properties:
        virtual_clusters_count:
          description: Number of virtual clusters
          type: integer
      required:
        - virtual_clusters_count
    MeshResources:
      type: object
      properties:
        zone_count:
          description: Number of mesh zones
          type: integer
      required:
        - zone_count
    SelfManagedGatewayResources:
      type: object
      properties:
        gateway_service_count:
          description: Number of self-managed gateway services
          type: integer
      required:
        - gateway_service_count
    ServerlessGatewayResources:
      type: object
      properties:
        control_plane_count:
          description: Number of serverless gateway control planes
          type: integer
      required:
        - control_plane_count
    KICGatewayResources:
      type: object
      properties:
        gateway_service_count:
          description: Number of KIC gateway services
          type: integer
      required:
        - gateway_service_count
  examples:
    OrgEntitlements:
      summary: Default entitlements for an organization
      value:
        billing_and_metering:
          enabled: true
          resources:
            data_retention_yrs: 2
            event_deduplication_window_hrs: 24
            api_rate_limit_rps: 1000
        kong_identity:
          enabled: false
        developer_portal:
          enabled: true
          resources:
            portal_count: 3
            published_api_count: 10
        catalog:
          enabled: true
          resources:
            governed_service_count: 5
        event_gateway:
          enabled: false
          resources:
            virtual_clusters_count: 10
        advanced_analytics:
          enabled: true
        ai_gateway:
          enabled: false
        dedicated_cloud_gateway:
          enabled: true
        mesh:
          enabled: true
          resources:
            zone_count: 4
        self_managed_gateway:
          enabled: true
          resources:
            gateway_service_count: 2
        serverless_gateway:
          enabled: false
          resources:
            control_plane_count: 10
        kic_gateway:
          enabled: true
          resources:
            gateway_service_count: 3
        payload_capture:
          enabled: false
    UnauthorizedExample:
      value:
        status: 401
        title: Unauthorized
        instance: kong:trace:8347343766220159418
        detail: Unauthorized
    ForbiddenExample:
      value:
        status: 403
        title: Forbidden
        instance: kong:trace:2723154947768991354
        detail: You do not have permission to perform this action
    NotFoundExample:
      value:
        status: 404
        title: Not Found
        instance: kong:trace:6816496025408232265
        detail: Not Found
  securitySchemes:
    systemAccountAccessToken:
      type: http
      scheme: bearer
      bearerFormat: Token
      description: >
        The system account access token is meant for automations and
        integrations that are not directly associated with a human identity.

        You can generate a system account Access Token by creating a system
        account and then obtaining a system account access token for that
        account.

        The access token must be passed in the header of a request, for example:

        `curl -X GET 'https://global.api.konghq.com/v2/users/' --header
        'Authorization: Bearer spat_i2Ej...'`
    personalAccessToken:
      type: http
      scheme: bearer
      bearerFormat: Token
      description: >
        The personal access token is meant to be used as an alternative to
        basic-auth when accessing Konnect via APIs.

        You can generate a Personal Access Token (PAT) from the [personal access
        token page](https://cloud.konghq.com/global/account/tokens/) in the
        Konnect dashboard.

        The PAT token must be passed in the header of a request, for example:

        `curl -X GET 'https://global.api.konghq.com/v2/users/' --header
        'Authorization: Bearer kpat_xgfT...'`
    konnectAccessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        The Konnect access token is meant to be used by the Konnect dashboard
        and the decK CLI authenticate with.
```
