---
title: "Get a license"
method: GET
path: "/licenses/{license}"
tags: ["licenses"]
---

# Get a license

`GET /licenses/{license}`

## Path parameters

- `license` string, required

## Response `200`

Response

- License — License
  - `key` string, required
  - `name` string, required
  - `spdx_id` string, nullable, required
  - `url` string, uri, nullable, required
  - `node_id` string, required
  - `html_url` string, uri, required
  - `description` string, required
  - `implementation` string, required
  - `permissions` string[], required
  - `conditions` string[], required
  - `limitations` string[], required
  - `body` string, required
  - `featured` boolean, required

## Other responses

- `304` — Not modified
- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/ghes.md) · [All operations](https://skmtc.net/github/apis/ghes/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghes/revisions/ee6c7a46328e/schema)
