Retrieve a list of scanned projects in an organization. Does not return archived repositories.
External DocumentationTo learn more, visit the SemGrep documentation.

Parameters

ParameterDescription
Deployment SlugSlug of the deployment name. Can be obtained by the Get Deployment action, or in your Settings in the Web UI.
Page NumberThe number of the results page to retrieve. Pages are numbered from zero (0).
Page SizeThe size of page to return. Valid range is 100 - 3000.

Example Output

{
	"projects": [
		{
			"id": 1234567,
			"name": "returntocorp/semgrep",
			"url": "https://github.com/returntocorp/semgrep",
			"tags": [
				"tag"
			],
			"created_at": "2020-11-18T23:28:12.391807Z",
			"latest_scan_at": "2023-01-13T20:51:51.449081Z",
			"primary_branch": "refs/heads/custom-main",
			"default_branch": "refs/heads/main"
		}
	]
}

Workflow Library Example

List All Projects with Semgrep and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop