Socket

App · 3 actions

Read software supply-chain repositories, full-scan inventory, and API quota from Socket.

Actions

ActionWhat it does
Get API quotaRead remaining API quota.
List full scansRead one page of full-scan metadata, excluding SBOM artifacts.
List repositoriesRead one page of repositories for the configured organization.

Get API quota

Read remaining API quota. This endpoint consumes zero quota units.

Inputs

None.

Outputs

dataobject
The response from Socket.
Example output
{
  "data": {
    "maxQuota": 2000,
    "nextWindowRefresh": "2026-12-01T00:00:00.000Z",
    "quota": 1000
  }
}

List full scans

Read one page of full-scan metadata, excluding SBOM artifacts. Consumes one quota unit.

Inputs

Pagepagenumber
Page to read. Request subsequent pages explicitly.At least 1.
Per pageper_pagenumber
Maximum number of records in this page.From 1 to 100.
Reporepotext
Optional repository slug to restrict the scan inventory.
Branchbranchtext
Optional source-control branch.

Outputs

dataobject
The response from Socket.
Example output
{
  "data": {
    "results": [
      {
        "created_at": "2026-11-01T12:00:00.000Z",
        "id": "scan-example",
        "organization_slug": "example",
        "repo": "website",
        "repository_slug": "website"
      }
    ]
  }
}

List repositories

Read one page of repositories for the configured organization. Consumes one quota unit.

Inputs

Pagepagenumber
Page to read. Request subsequent pages explicitly.At least 1.
Per pageper_pagenumber
Maximum number of records in this page.From 1 to 100.
Include archivedinclude_archivedtrue/false
Include archived repositories.

Outputs

dataobject
The response from Socket.
Example output
{
  "data": {
    "results": [
      {
        "archived": false,
        "id": "repo-example",
        "name": "website",
        "slug": "website",
        "visibility": "private"
      }
    ]
  }
}

On this page