SOLFIND
Web Lens
Portal home

Downloading attribution reports — FOSSA Docs

https://docs.fossa.com/docs/api/examples/downloading-attribution-reports • 142 KB fetched
Open original page


Downloading attribution reports — FOSSA Docs Docs Search docs... ⌘K Docs API CLI Glossary Launch App User Guides Product Guides Get Started Project Setup Release Groups Issues Licenses Vulnerabilities Quality SBOM Policies Reports FOSSA CLI API Reference Introduction to the FOSSA API Authentication Errors Webhook Notifications CPE Lookup API Usage examples Managing issues Managing users and teams Initiating a binary scan Generating reports Creating Jira tickets Downloading attribution reports Modifying release groups Retrieving the latest revision Rotating access tokens Endpoint Reference Integrations fossabot Organization Management On-Premises Deployment Help & Support Legal Get Support fossa.com On this page * Overview * Adding a custom report header (optional) * Endpoints by format * Example: download an HTML report * Choosing what the report includes * Related On this page Docs API Reference Usage examples Downloading attribution reports Downloading attribution reports Download project attribution (licensing) reports in TXT, HTML, Markdown, PDF, or CSV. 2 min read Updated Aug 26, 2026 Copy link Overview This recipe shows how to download a project 's attribution report (typically a licensing report) in several formats. Note * A FOSSA API token , see Authentication . * The project locator or revision ID of the project you want to report on, see Retrieving the latest revision . 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. Expand 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. Format Delivery Endpoint Plain text Emailed GET /api/revisions/{revision_id}/attribution/email?format=TXT PDF Emailed GET /api/revisions/{revision_id}/attribution/email?format=PDF HTML Download GET /api/revisions/{revision_id}/attribution/download?download=true&format=HTML Markdown Download GET /api/revisions/{revision_id}/attribution/download?download=true&format=MD CSV Download GET /api/revisions/{revision_id}/attribution/download?download=true&format=CSV Example: download an HTML report Shell Copy 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). Related * Managing issues : query issues programmatically. * Retrieving the latest revision : get the revision ID for a project. Previous Creating Jira tickets Next Generating reports © 2026 FOSSA, Inc. [email protected]

Links found on this page

  1. Docs [direct]
  2. Docs [direct]
  3. API [direct]
  4. CLI [direct]
  5. Glossary [direct]
  6. Launch App [direct]
  7. User Guides [direct]
  8. Product Guides [direct]
  9. Project Setup [direct]
  10. Release Groups [direct]
  11. Issues [direct]
  12. Licenses [direct]
  13. Vulnerabilities [direct]
  14. Quality [direct]
  15. SBOM [direct]
  16. Policies [direct]
  17. Reports [direct]
  18. Introduction to the FOSSA API [direct]
  19. Authentication [direct]
  20. Errors [direct]
  21. Webhook Notifications [direct]
  22. CPE Lookup API [direct]
  23. Usage examples [direct]
  24. Managing issues [direct]
  25. Managing users and teams [direct]
  26. Initiating a binary scan [direct]
  27. Generating reports [direct]
  28. Creating Jira tickets [direct]
  29. Downloading attribution reports [direct]
  30. Modifying release groups [direct]
  31. Retrieving the latest revision [direct]
  32. Rotating access tokens [direct]
  33. Endpoint Reference [direct]
  34. Integrations [direct]
  35. fossabot [direct]
  36. Organization Management [direct]
  37. On-Premises Deployment [direct]
  38. Help & Support [direct]
  39. Legal [direct]
  40. Get Support [direct]
  41. fossa.com [direct]