Downloading attribution reports

Download project attribution (licensing) reports in TXT, HTML, Markdown, PDF, or CSV.

2 min readUpdated Jul 10, 2026

Overview

This recipe shows how to download a project's attribution report (typically a licensing report) in several formats.

Note

Adding a custom report header (optional)

To add custom text to the top of your report, open Project Settings > Reports and enter it in the Description field (Markdown is supported). Once configured, the custom text appears at the top of the generated attribution report.

Project Settings report section with the custom report header text field

Endpoints by format

Some formats are emailed to your account; others download directly to your machine. Replace {revision_id} with your URL-encoded revision locator.

FormatDeliveryEndpoint
Plain textEmailedGET /api/revisions/{revision_id}/attribution/email?format=TXT
PDFEmailedGET /api/revisions/{revision_id}/attribution/email?format=PDF
HTMLDownloadGET /api/revisions/{revision_id}/attribution/download?download=true&format=HTML
MarkdownDownloadGET /api/revisions/{revision_id}/attribution/download?download=true&format=MD
CSVDownloadGET /api/revisions/{revision_id}/attribution/download?download=true&format=CSV

Example: download an HTML report

Shell
curl --request GET \  --url 'https://app.fossa.com/api/revisions/{revision_id}/attribution/download?download=true&format=HTML' \  --header 'Authorization: Bearer YOUR_API_KEY'

Choosing what the report includes

Pass dependencyInfoOptions[] one or more times to control which fields appear per dependency. Available values:

  • Library
  • Authors
  • Description
  • ConcludedLicense
  • License
  • CustomTextLicense
  • FullTextLicense
  • OtherLicenses
  • FilePath
  • Source
  • ProjectUrl
  • PackageDownloadUrl
  • DependencyPaths
  • IssueNotes
  • Copyrights
  • NoticeFiles
  • LicenseFileURL

Some values depend on features being enabled for your organization (for example, ConcludedLicense requires license conclusions and FilePath requires file paths in reports).

© 2026 FOSSA, Inc.support@fossa.com