---
title: "List & Search SBOM"
method: GET
path: "/licenses"
---

# List & Search SBOM

`GET /licenses`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/licenses`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `licenses:read`

Returns a list of licenses

## Query parameters

- `page` integer
- `per_page` integer
- `search` string: The search term to filter on
- `scope` 'all' | 'only_dev_deps' | 'exclude_dev_deps'

## Response `200`

A list of licenses

- object[]
  - `package_name` string: The full package name including the version
  - `license_type` string: The license type
  - `language` string: The programming language of the package
  - `code_repo_id` integer: The code repository ID
  - `container_repo_id` integer: The container repository ID
  - `location` string: The location
  - `purl` string: The PURL

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
