> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Licence report

> The licence's SKUs, expiry, features, and each limit with its usage, plus the namespaces holding a licensed slot. Owner only; Community Edition answers 402.



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml get /license
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /license:
    get:
      tags:
        - license
      summary: Licence report
      description: >-
        The licence's SKUs, expiry, features, and each limit with its usage,
        plus the namespaces holding a licensed slot. Owner only; Community
        Edition answers 402.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entitlements.Report'
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    entitlements.Report:
      type: object
      properties:
        days_left:
          type: integer
        expires_at:
          type: string
        features:
          type: array
          items:
            $ref: '#/components/schemas/entitlements.Feature'
        limits:
          type: array
          items:
            $ref: '#/components/schemas/entitlements.Limit'
        namespaces:
          type: array
          description: Namespaces lists the namespaces holding a slot.
          items:
            $ref: '#/components/schemas/entitlements.NamespaceSlot'
        skus:
          type: array
          items:
            type: string
        valid:
          type: boolean
        waiting:
          type: array
          description: Waiting lists the namespaces waiting for a slot, in admission order.
          items:
            $ref: '#/components/schemas/entitlements.NamespaceWait'
    api.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
      description: Error response model
    entitlements.Feature:
      type: object
      properties:
        enabled:
          type: boolean
        key:
          type: string
        label:
          type: string
    entitlements.Limit:
      type: object
      properties:
        key:
          type: string
          description: >-
            Key identifies the limit (stable, for the UI's React keys and
            tests).
        label:
          type: string
        max:
          type: integer
          description: Max is the licensed maximum; ignore it when Unlimited.
        parts:
          type: array
          description: |-
            Parts break Used down where a kind of holder is worth showing on its
            own (the service accounts within admin seats). Omitted when none.
          items:
            $ref: '#/components/schemas/entitlements.LimitPart'
        unlimited:
          type: boolean
        used:
          type: integer
    entitlements.NamespaceSlot:
      type: object
      properties:
        claimed_at:
          type: string
        connected_edges:
          type: integer
          description: |-
            ConnectedEdges counts the namespace's edges; a slot with connected
            edges cannot be released.
        frees_at:
          type: string
        idle_since:
          type: string
          description: |-
            IdleSince is set while no edge is connected, and FreesAt is when the
            slot is then released automatically.
        namespace:
          type: string
    entitlements.NamespaceWait:
      type: object
      properties:
        connected_edges:
          type: integer
        namespace:
          type: string
        position:
          type: integer
        waiting_since:
          type: string
    entitlements.LimitPart:
      type: object
      properties:
        key:
          type: string
        label:
          type: string
        used:
          type: integer
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````