For AI agents: visit https://docs.socket.dev/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Jump to Content
Documentation
API Reference
API Reference
Jump to Content
Documentation
API Reference
/
JUMP TO
API Endpoints
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
post
Get Packages by PURL (Org Scoped)
post
Dependencies
Search dependencies
post
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 Resolutions
get
Get Org Alert Resolution
get
Delete Org Alert Resolution
del
Create Org Alert Resolution
post
Full Scans
Create full scan
post
List full scans
get
Stream full scan
get
Delete full scan
del
Get full scan metadata
get
Create full scan from archive
post
Download full scan files as tarball
get
Export OpenVEX Document (Beta)
get
Export SPDX SBOM (Beta)
get
Export CycloneDX SBOM (Beta)
get
Rescan full scan
post
Get supported file types
get
Export CSV of alerts for full scan
post
Generate PDF report for full scan
post
Fixes
Fetch fixes for vulnerabilities in a repository, scan, or uploaded manifest
get
Diff Scans
List diff scans
get
Get diff scan
get
Delete diff scan
del
SCM Comment for Diff Scan
get
Create diff scan from repository HEAD full-scan
post
Create diff scan from full scan IDs
post
Triage
List Org Alert Triage
get
Create/Update Org Alert Triage
post
Delete Org Alert Triage
del
Repos
List repositories
get
Create repository
post
Get repository
get
Update repository
post
Delete repository
del
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 Feed
Get Threat Feed Items (Beta)
get
Threat Campaigns
List threat campaigns
get
Get a threat campaign
get
List packages for a threat campaign
get
Org Snapshots
List details of periodic historical data snapshots (Beta)
get
Start historical data snapshot job (Beta)
post
Alert Policies
List Org Alert Policies
get
Create Org Alert Policy
post
Get Org Alert Policy
get
Update Org Alert Policy
put
Delete Org Alert Policy
del
List Org Alert Policy Rules
get
Create Org Alert Policy Rule
post
Get Org Alert Policy Rule
get
Update Org Alert Policy Rule
put
Delete Org Alert Policy Rule
del
Translate Org Alert Triage
post
Get Org Alert Policy Migration Status
get
Security Policy
Get Organization Security Policy
get
Update Security Policy
post
License Policy
Get License Policy (Beta)
get
License Policy (Beta)
post
Update License Policy
post
Org Settings
Get Socket Basics configuration, including toggles for the various tools it supports.
get
Get integration events
get
Audit Log
Get Audit Log Events
get
API Tokens
Create API Token
post
Get quota
get
List API Tokens
get
List organizations
get
Update API Token
post
Rotate API Token
post
Revoke API Token
post
Webhooks
List all webhooks
get
Create a webhook
post
Get webhook
get
Update webhook
put
Delete webhook
del
Metadata
Returns the OpenAPI definition
get
Alert Types Metadata
post
License Metadata
post
Returns the OpenAPI definition
get
Events
Post organization events
post
Get Organization Telemetry Config
get
Update Telemetry Config
put
Deprecated
SCM Comment for Scan Diff
get
Diff Full Scans
get
Saturate License Policy (Legacy)
post
Get Organization License Policy
get
Get organization analytics (unstable)
get
Get repository analytics
get
Get Threat Feed Items (Deprecated)
get
Create a snapshot of all dependencies from manifest information
post
Get supported files for report
get
Delete a report
del
Get list of reports
get
Create a report
put
View a report
get
List GitHub repositories
get
Calculate settings
post
Get issues by package
get
Get score by package
get
Socket API v1
/
Socket API v1
/
Copy Page
Updated about 12 hours ago
Get score by package
Did this page help you?
Yes
No
Updated about 12 hours ago
Get score by package
Did this page help you?
Yes
No