Socket
App · 3 actions
Read software supply-chain repositories, full-scan inventory, and API quota from Socket.
Actions
| Action | What it does |
|---|---|
| Get API quota | Read remaining API quota. |
| List full scans | Read one page of full-scan metadata, excluding SBOM artifacts. |
| List repositories | Read 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
- Page
pagenumber - Page to read. Request subsequent pages explicitly.At least 1.
- Per page
per_pagenumber - Maximum number of records in this page.From 1 to 100.
- Repo
repotext - Optional repository slug to restrict the scan inventory.
- Branch
branchtext - 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
- Page
pagenumber - Page to read. Request subsequent pages explicitly.At least 1.
- Per page
per_pagenumber - Maximum number of records in this page.From 1 to 100.
- Include archived
include_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"
}
]
}
}