# List suppliers

Requires the `supplier:read` scope.

`GET /suppliers`

Scope `supplier:read`

Requires the `supplier:read` scope.

## Query parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Page size. minimum 1, maximum 100, default 25 |
| `offset` | integer | no | Rows to skip (offset mode). Cannot be combined with cursor. minimum 0, maximum 10000, default 0 |
| `cursor` | string | no | An opaque cursor taken from meta.nextCursor of the previous page (cursor mode). Valid for 24 hours and bound to the token and the query; do not parse or construct it. |
| `sort[id]` | string | no | Sort direction for id. One of `asc`, `desc`. |
| `sort[updatedAt]` | string | no | Sort direction for updatedAt. One of `asc`, `desc`. |
| `filter[assessmentStatus][eq]` | string | no | Filter assessmentStatus (eq). |
| `filter[assessmentStatus][in]` | string | no | Filter assessmentStatus (in). Comma-separated, at most 50 values. |
| `filter[criticality][eq]` | string | no | Filter criticality (eq). |
| `filter[criticality][in]` | string | no | Filter criticality (in). Comma-separated, at most 50 values. |
| `filter[id][eq]` | string | no | Filter id (eq). |
| `filter[id][in]` | string | no | Filter id (in). Comma-separated, at most 50 values. |
| `filter[serviceCategory][eq]` | string | no | Filter serviceCategory (eq). |
| `filter[serviceCategory][in]` | string | no | Filter serviceCategory (in). Comma-separated, at most 50 values. |
| `filter[status][eq]` | string | no | Filter status (eq). |
| `filter[status][in]` | string | no | Filter status (in). Comma-separated, at most 50 values. |
| `filter[updatedAt][gte]` | string (date-time) | no | Filter updatedAt (gte). |
| `filter[updatedAt][lt]` | string (date-time) | no | Filter updatedAt (lt). |

## Returns

The `data` field of the standard `{ data, error, meta }` envelope:

An array of object:
- `assessmentStatus`: string Assessment status.
- `businessOwnerId`: optional string Business owner employee id (empl_).
- `createdAt`: string (date-time) Creation time (UTC).
- `criticality`: string Criticality.
- `dependencyType`: optional string Dependency type, when set.
- `displayName`: string Display name of the supplier.
- `hasCardData`: boolean Processes card data.
- `hasPhi`: boolean Processes health data.
- `hasPii`: boolean Processes personal data.
- `id`: string Supplier id (sup_).
- `lastAssessmentAt`: optional string (date-time) or null Last assessment time (UTC).
- `legalName`: string Legal name of the supplier (an organisation).
- `networkAccessLevel`: optional string Network access level, when set.
- `nextAssessmentDueAt`: optional string (date-time) or null Next assessment due (UTC).
- `openFindingCount`: integer Open findings.
- `openRiskCount`: integer Open risks.
- `privilegedAccess`: boolean Has privileged access.
- `securityOwnerId`: optional string Security owner employee id (empl_).
- `serviceCategory`: string Service category.
- `status`: string Lifecycle status.
- `supplierOwnerId`: optional string Supplier owner employee id (empl_).
- `supportsCrownJewel`: boolean Supports a crown-jewel asset.
- `updatedAt`: string (date-time) Last update time (UTC).
- No other fields.

## Errors

| Status | Code | Retry | Meaning |
|---|---|---|---|
| 400 | - | no | The request is invalid. |
| 401 | - | no | The token is missing, malformed, expired or revoked. |
| 402 | - | no | The organisation's plan does not include the feature this route needs. |
| 403 | - | no | The token may not use this route. |
| 429 | - | yes | Rate limit or row budget exceeded; retry after the time in Retry-After. |
| 500 | - | no | Unexpected server error. |
| 503 | - | yes | A dependency is temporarily unavailable; retry later. |

## Example

### curl

```bash
curl "https://api.autociso.io/api/v1/suppliers" \
  -H "Authorization: Bearer <your-api-token>"
```

### Python

```python
import requests

response = requests.get(
    "https://api.autociso.io/api/v1/suppliers",
    headers={"Authorization": "Bearer <your-api-token>"},
)
print(response.json())
```

### JavaScript

```javascript
const response = await fetch("https://api.autociso.io/api/v1/suppliers", {
  method: "GET",
  headers: { "Authorization": "Bearer <your-api-token>" },
});
console.log(await response.json());
```

## Response (200)

```json
{
  "data": [
    {
      "assessmentStatus": "completed",
      "businessOwnerId": "empl_1hgyq2b7z5tc",
      "createdAt": "2026-02-12T09:00:00Z",
      "criticality": "CRITICAL",
      "dependencyType": "single",
      "displayName": "Example Cloud",
      "hasCardData": false,
      "hasPhi": false,
      "hasPii": true,
      "id": "sup_1hd8c2x7q0wn",
      "lastAssessmentAt": "2026-05-20T10:00:00Z",
      "legalName": "Example Cloud Services Ltd.",
      "networkAccessLevel": "privileged",
      "nextAssessmentDueAt": "2027-05-20T00:00:00Z",
      "openFindingCount": 3,
      "openRiskCount": 2,
      "privilegedAccess": true,
      "securityOwnerId": "empl_1hgyun41rx48",
      "serviceCategory": "Cloud Provider",
      "status": "active",
      "supplierOwnerId": "empl_1hgyun41rx48",
      "supportsCrownJewel": true,
      "updatedAt": "2026-10-01T12:00:00Z"
    },
    {
      "assessmentStatus": "not_started",
      "createdAt": "2026-10-07T13:00:00Z",
      "criticality": "MEDIUM",
      "displayName": "Example Payroll",
      "hasCardData": false,
      "hasPhi": false,
      "hasPii": true,
      "id": "sup_1hd8c4m1r9ty",
      "legalName": "Example Payroll GmbH",
      "networkAccessLevel": "none",
      "openFindingCount": 0,
      "openRiskCount": 0,
      "privilegedAccess": false,
      "serviceCategory": "Payroll",
      "status": "onboarding",
      "supportsCrownJewel": false,
      "updatedAt": "2026-10-07T13:00:00Z"
    }
  ],
  "error": null,
  "meta": {
    "limit": 25,
    "offset": 0,
    "total": 24
  }
}
```
