For AI agents: the docs index is at https://docs.socket.dev/llms.txt. Append .md to any documentation page URL to get its markdown version.
Jump to Content
Socket
DocumentationAPI Reference
Socket
API Reference
Jump to Content
Socket
DocumentationAPI Reference
  • Introduction to Socket API
  • Creating and Managing API Tokens
  • Authentication
  • Quota
  • Rate Limits
  • Socket Package URLs (purl)
  • Historical Data Endpoints
  • API Lifecycle and Deprecation Process
  • Packages
    • Get Packages by PURL (Org Scoped)post
    • List published versions for a package by PURLget
  • Deprecated
    • SCM Comment for Scan Diffget
    • Diff Full Scansget
    • Saturate License Policy (Legacy)post
    • Get Organization License Policyget
    • Get organization analytics (unstable)get
    • Get repository analyticsget
    • Get Threat Feed Items (Deprecated)get
    • Get Packages by PURLpost
    • Create a snapshot of all dependencies from manifest informationpost
    • Get supported files for reportget
    • Delete a reportdel
    • Get list of reportsget
    • Create a reportput
    • View a reportget
    • List GitHub repositoriesget
    • Calculate settingspost
    • Get issues by packageget
    • Get score by packageget
  • Dependencies
    • Search dependenciespost
    • Trend of historical dependencies (Beta)get
  • Alerts
    • List historical alerts (Beta)get
    • Trend of historical alerts (Beta)get
    • List latest alerts (Beta)get
    • List full scans associated with alert (Beta)get
    • List Org Alert Resolutionsget
    • Get Org Alert Resolutionget
    • Delete Org Alert Resolutiondel
    • Create Org Alert Resolutionpost
  • Full Scans
    • Create full scanpost
    • List full scansget
    • Stream full scanget
    • Delete full scandel
    • Get full scan metadataget
    • Create full scan from archivepost
    • Download full scan files as tarballget
    • Export OpenVEX Document (Beta)get
    • Export SPDX SBOM (Beta)get
    • Export CycloneDX SBOM (Beta)get
    • Rescan full scanpost
    • Get supported file typesget
    • Export CSV of alerts for full scanpost
    • Generate PDF report for full scanpost
  • Fixes
    • Fetch fixes for vulnerabilities in a repository, scan, or uploaded manifestget
    • Get fix computationget
    • Start fix computationpost
  • Diff Scans
    • List diff scansget
    • Get diff scanget
    • Delete diff scandel
    • SCM Comment for Diff Scanget
    • Create diff scan from repository HEAD full-scanpost
    • Create diff scan from full scan IDspost
    • SCM comments for diff scanget
  • Triage
    • List Org Alert Triageget
    • Create/Update Org Alert Triagepost
    • Delete Org Alert Triagedel
  • Repos
    • List repositoriesget
    • Create repositorypost
    • Get repositoryget
    • Update repositorypost
    • Remove repository from Socketdel
  • Repo Labels
    • Associate repository label (beta)post
    • Create repository label (beta)post
    • List repository labels (beta)get
    • Delete repository label (beta)del
    • Get repository label (beta)get
    • Delete repository label setting (beta)del
    • Update repository label (beta)put
    • Get repository label setting (beta)get
    • Update repository label setting (beta)put
    • Disassociate repository label (beta)post
  • Threat Campaigns
    • List threat campaignsget
    • Get a threat campaignget