---
title: "Get Link Summary"
method: GET
path: "/licenses/{license_id}/link-summary"
tags: ["licenses"]
---

# Get Link Summary

`GET /licenses/{license_id}/link-summary`

## Request

- Base URL: `https://api.licenscheck.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.licenscheck.com/licenses/{license_id}/link-summary`
- Auth: none declared

Count the licenses and states linked to this license's contractor, without naming them.

Open to keyless callers, as the teaser for the key-only `/graph` and
`/verdict`: it shows a link exists, never which license or what backs it.

Args:
    license_id: The queried license's internal UUID.
    repo: Injected `LicenseRepository`.

Returns:
    How many other licenses and distinct states are linked.

Raises:
    LicenseNotFoundError: If no license with that id exists (a 404).

## Path parameters

- `license_id` string, uuid, required

## Response `200`

Successful Response

- LinkSummaryOut: How far a license's contractor reaches across licenses and states, without saying which (the keyless teaser).
  - `license_id` string, uuid, required: The queried license's internal UUID.
  - `linked_licenses` integer, required: How many other licenses are resolved to the same contractor.
  - `linked_states` integer, required: How many distinct states those other licenses are in.

## Other responses

- `404`: No license with that id exists.
- `422`: Validation Error

---

[API](https://skmtc.dev/licenscheck/apis/licenscheck-api.md) · [All operations](https://skmtc.dev/licenscheck/apis/licenscheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/licenscheck/apis/licenscheck-api/revisions/472db933f385?raw)
