---
source: https://qlik.dev/apis/event/core/licenses/
last_updated: 2026-12-04T15:02:37Z
---

# Licenses

Monitor license consumption in your Qlik Cloud tenant.

## Table of Contents

### system-events.licenses

- [com.qlik.core.license.consumption.reported](#comqlikcorelicenseconsumptionreported)

## Events published on the `system-events.licenses` channel

### com.qlik.core.license.consumption.reported

**Title:** Consumption reported

**Action:** `send`

**Visibility:** `public`

**Stability:** `stable`

Event triggered when usage is reported for a license.

**Payload**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event is emitted. Metadata: format = "date-time". |
| `type` | `string` | Yes | The event type identifier. Metadata: default = "com.qlik.core.license.consumption.reported". |
| `source` | `string` | No | The source of the event. Always set to the fixed value `qlik.com/licenses` by the publisher. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | Yes | Unique identifier of the tenant related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `unit` | `string` | No | The usage unit. |
| `featureId` | `string` | Yes | The feature identifier. |
| `periodEnd` | `string` | No | End of the current usage period, if specified. Metadata: format = "date-time". |
| `periodType` | `string` | No | The reset period type (e.g. month). Allowed values: day \| week \| month \| year. |
| `usageLimit` | `number` | Yes | The total amount of the feature resource available for the current period. |
| `featureName` | `string` | No | The feature display name. |
| `isSoftLimit` | `boolean` | Yes | Whether the limit is a soft limit. Soft limits are not enforced. |
| `periodStart` | `string` | No | Start of the current usage period, if specified. Metadata: format = "date-time". |
| `currentUsage` | `number` | Yes | Current consumption of the feature resource. |
| `currentChange` | `number` | Yes | Change in usage since last measurement. |
| `hasUnlimitedUsage` | `boolean` | Yes | Whether there is unlimited availability of the feature resource for the current period. If true, usageLimit is null and usageUsedPercentage is 0. |
| `usageUsedPercentage` | `number` | Yes | Percentage of the feature resource consumed. Relative to usageLimit, can go above 100. |

</details>


**Example**

```json
{
  "id": "string",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.core.license.consumption.reported",
  "source": "string",
  "specversion": "1.0",
  "datacontenttype": "application/json",
  "authtype": "string",
  "authclaims": "string",
  "tracestate": "string",
  "traceparent": "string",
  "data": {
    "unit": "string",
    "featureId": "string",
    "periodEnd": "2018-10-30T07:06:22Z",
    "periodType": "day",
    "usageLimit": 42,
    "featureName": "string",
    "isSoftLimit": true,
    "periodStart": "2018-10-30T07:06:22Z",
    "currentUsage": 42,
    "currentChange": 42,
    "hasUnlimitedUsage": true,
    "usageUsedPercentage": 42
  },
  "tenantid": "string"
}
```


## Schemas

### cloudEventsAttributes

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No | Unique identifier of the event. |
| `time` | `string` | No | Timestamp of when the event is emitted. Metadata: format = "date-time". |
| `type` | `string` | No | Type of the event. |
| `source` | `string` | No | The source of the event. Always set to the fixed value `qlik.com/licenses` by the publisher. |
| `specversion` | `string` | No | CloudEvents spec version. Allowed values: 1.0. |
| `datacontenttype` | `string` | No | The content type of the event payload. Metadata: default = "application/json". |



### cloudEventsQlikCommonAttributes

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `authtype` | `string` | No | The type of principal that triggered the event. |
| `authclaims` | `string` | No | JSON string representing claims of the principal. |
| `tracestate` | `string` | No | A comma-delimited list of key-value pairs. |
| `traceparent` | `string` | No | Contains a version, trace ID, span ID, and trace options. |



### consumptionReported

**Type:** `object`

**Properties**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | `object` | Yes |  |
| `tenantid` | `string` | Yes | Unique identifier of the tenant related to the event. |

<details>
<summary>Properties of `data`</summary>

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `unit` | `string` | No | The usage unit. |
| `featureId` | `string` | Yes | The feature identifier. |
| `periodEnd` | `string` | No | End of the current usage period, if specified. Metadata: format = "date-time". |
| `periodType` | `string` | No | The reset period type (e.g. month). Allowed values: day \| week \| month \| year. |
| `usageLimit` | `number` | Yes | The total amount of the feature resource available for the current period. |
| `featureName` | `string` | No | The feature display name. |
| `isSoftLimit` | `boolean` | Yes | Whether the limit is a soft limit. Soft limits are not enforced. |
| `periodStart` | `string` | No | Start of the current usage period, if specified. Metadata: format = "date-time". |
| `currentUsage` | `number` | Yes | Current consumption of the feature resource. |
| `currentChange` | `number` | Yes | Change in usage since last measurement. |
| `hasUnlimitedUsage` | `boolean` | Yes | Whether there is unlimited availability of the feature resource for the current period. If true, usageLimit is null and usageUsedPercentage is 0. |
| `usageUsedPercentage` | `number` | Yes | Percentage of the feature resource consumed. Relative to usageLimit, can go above 100. |

</details>


