Semgrep — API
Semgrep Web Appv1.0.0 Read the vendor's spec ↗
- 25 endpoints
- 3 deprecated
- 6 versions archived since Jul 20, 2026
- Last checked Oct 9, 2026
Welcome to Semgrep's portal for the Semgrep AppSec Platform web API.
Get started
$ curl "$BASE_URL/api/v1/deployments" \
-H "Authorization: Bearer $TOKEN"
Set $BASE_URL and $TOKEN first, then paste.
- Base URL
-
Not named in the archived spec.
$BASE_URLbelow stands for the origin you deploy against. - Authenticate
-
Bearer token in the Authorization header
Get access to data with a Semgrep Admin JSON Web Token.
2 other schemes
- Bearer token in the Authorization header
- Bearer token in the Authorization header
What it covers
- Projects 7 read, update, delete
- Supply Chain 5 Manage the Supply Chain findings and dependencies of your organization.
- Ticketing 4 Create and manage external tickets
- Policies 3 Deprecated.
- Scans 2 View details of scans associated with projects in your organization.
- Deployment 1 Deployments encapsulate your organization's security organization, with multiple projects, policies, and integrations.
- Code, Supply Chain, and AI-powered detection 1 Manage and retrieve code, supply chain, and AI-powered detection findings from Semgrep scans
- Secrets 1 View and manage the Secrets of your organization.
- Triage 1 View and manage the triage of your organization.
Open an endpoint for a runnable command, its inputs and what it returns.
endpoint surface across archived versions
endpoints at that version
added
removed
endpoint changes per archived version — drag across the rail to set a range
Projects 7
-
DELETE
/api/v1/deployments/{deploymentSlug}/projects/{projectName}Delete projectLoading…
-
DELETE
/api/v1/deployments/{deploymentSlug}/projects/{projectName}/tagsRemove tags from projectLoading…
-
GET
/api/v1/deployments/{deploymentSlug}/projectsList all projectsLoading…
-
GET
/api/v1/deployments/{deploymentSlug}/projects/{projectName}Get project detailsLoading…
-
PATCH
/api/v1/deployments/{deploymentSlug}/projects/{projectName}Update project detailsLoading…
-
PATCH
/api/v1/deployments/{deploymentSlug}/projects/{projectName}/managed-scanToggle Managed Scans for a projectLoading…
-
PUT
/api/v1/deployments/{deploymentSlug}/projects/{projectName}/tagsAdd tags to projectLoading…
Supply Chain 5
-
GET
/api/v1/deployments/{deploymentId}/sbom/export/{taskToken}Get the status of a SBOM export jobLoading…
-
POST
/api/v1/deployments/{deploymentId}/dependenciesList dependenciesLoading…
-
POST
/api/v1/deployments/{deploymentId}/dependencies/repositoriesList repositories with dependenciesLoading…
-
POST
/api/v1/deployments/{deploymentId}/dependencies/repositories/{repositoryId}/lockfilesList lockfiles in a given repository with dependenciesLoading…
-
POST
/api/v1/deployments/{deploymentId}/sbom/exportCreate a new SBOM export jobLoading…
Ticketing 4
-
DELETE
/api/v1/deployments/{deploymentId}/ticketing/v2/tickets/{externalTicketId}Unlink a Jira ticketLoading…
-
POST
/api/v1/deployments/{deploymentId}/tickets/linkLink an existing ticket to findingsLoading…
-
POST
/api/v1/deployments/{deploymentId}/tickets/unlinkUnlink a ticket from findingsLoading…
-
POST
/api/v1/deployments/{deploymentSlug}/ticketsCreate Jira ticketsLoading…
Policies 3
-
GET
/api/v1/deployments/{deploymentId}/policiesList policies deprecatedLoading…
-
GET
/api/v1/deployments/{deploymentId}/policies/{policyId}List policy rules deprecatedLoading…
-
PUT
/api/v1/deployments/{deploymentId}/policies/{policyId}Update policy deprecatedLoading…
Scans 2
-
GET
/api/v1/deployments/{deploymentId}/scan/{scanId}Get scan detailsLoading…
-
POST
/api/v1/deployments/{deploymentId}/scans/searchList scans (beta)Loading…
Deployment 1
-
GET
/api/v1/deploymentsList deploymentsLoading…
Code, Supply Chain, and AI-powered detection 1
-
GET
/api/v1/deployments/{deploymentSlug}/findingsList code, supply chain, or AI-powered detection findingsLoading…
Secrets 1
-
GET
/api/v1/deployments/{deploymentId}/secretsList secretsLoading…
Triage 1
-
POST
/api/v1/deployments/{deploymentSlug}/triageBulk triageLoading…
No endpoint matches. Clear the filter to see all 25.
Change log
-
- −GET /api/v1/bootstrap-sms-vpc
- −GET /api/v1/ping
-
- ⚠GET /api/v1/deployments/{deploymentId}/policies
- ⚠GET /api/v1/deployments/{deploymentId}/policies/{policyId}
- ⚠PUT /api/v1/deployments/{deploymentId}/policies/{policyId}