Skip to main content
GET
Get Packages by License

Path Parameters

projectId
string
required
The UUID of the project
spdxId
string
required
The SPDX license identifier (e.g., MIT, Apache-2.0, GPL-3.0-only). Use UNKNOWN to retrieve packages with no detected license.

Query Parameters

branch
string
Filter by Git branch name
organizationId
string
The UUID of the organization (required for permission resolution)
packageType
string[]
Filter by package ecosystem (e.g., npm, pip, maven, go). Can be specified multiple times.

Authorization

Requires read_scan_result permission on the project.

Response

success
boolean
Whether the request succeeded
data
object