---
title: "List licenses"
method: GET
path: "/licenses"
tags: ["License"]
---

# List licenses

`GET /licenses`

This endpoint returns a list of all licenses for a subscription.

## 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.
- `subscription_id` string, required
- `license_type_id` string, nullable
- `external_license_id` string, nullable
- `status` 'active' | 'inactive', nullable

## Response `200`

OK

- LicenseApiResources
  - `data` LicenseApiResource[], required
    - `id` string, required
    - `subscription_id` string, required
    - `license_type_id` string, required
    - `external_license_id` string, required
    - `status` 'active' | 'inactive', required
    - `start_date` string, date-time, required
    - `end_date` string, date-time, nullable, required
  - `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.dev/withorb/apis/api-reference.md) · [All operations](https://skmtc.dev/withorb/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/withorb/api-reference/revisions/816dfe734e2e/schema)
