---
title: "List license types"
method: GET
path: "/license_types"
tags: ["LicenseType"]
---

# List license types

`GET /license_types`

This endpoint returns a list of all license types configured for the account, ordered in ascending order by creation time.

License types are used to group licenses and define billing behavior. Each license type has a name and a
grouping key that determines how metrics are aggregated for billing purposes.

## Query parameters

- `limit` integer — The number of items to fetch. Defaults to 20.
- `cursor` string, nullable — Cursor for pagination. This can be populated by the `next_cursor` value returned from the initial request.

## Response `200`

OK

- LicenseTypes
  - `data` LicenseType[], required
    - `id` string, required — The Orb-assigned unique identifier for the license type.
    - `name` string, required — The name of the license type.
    - `grouping_key` string, required — The key used for grouping licenses of this type. This is typically a user identifier field.
  - `pagination_metadata` PaginationMetadata, required
    - `has_more` boolean, required
    - `next_cursor` string, nullable, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict
- `413` — Content Too Large
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/withorb/apis/api-reference.md) · [All operations](https://skmtc.net/withorb/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/withorb/api-reference/versions/816dfe734e2e/schema)
