# Socket

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

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/socket

## Actions

### Get API quota

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

**Inputs**: None.

**Outputs**

- `data` (object): The response from Socket.

**Example output**

```json
{
  "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 (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Per page (`per_page`, number): Maximum number of records in this page. From 1 to 100.
- Repo (`repo`, text): Optional repository slug to restrict the scan inventory.
- Branch (`branch`, text): Optional source-control branch.

**Outputs**

- `data` (object): The response from Socket.

**Example output**

```json
{
  "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 (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Per page (`per_page`, number): Maximum number of records in this page. From 1 to 100.
- Include archived (`include_archived`, true/false): Include archived repositories.

**Outputs**

- `data` (object): The response from Socket.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "archived": false,
        "id": "repo-example",
        "name": "website",
        "slug": "website",
        "visibility": "private"
      }
    ]
  }
}
```
