# List a project's evidence metadata

Requires the `evidence:read` scope.

`GET /iso/projects/{projectId}/evidence`

Scope `evidence:read` | Plan **Growth+**

Requires the `evidence:read` scope. Needs the `iso27001` plan feature.

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `projectId` | string | yes |  |

## 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[createdAt]` | string | no | Sort direction for createdAt. One of `asc`, `desc`. |
| `sort[id]` | string | no | Sort direction for id. One of `asc`, `desc`. |
| `filter[controlId][eq]` | string | no | Filter controlId (eq). |
| `filter[controlId][in]` | string | no | Filter controlId (in). Comma-separated, at most 50 values. |
| `filter[createdAt][gte]` | string (date-time) | no | Filter createdAt (gte). |
| `filter[createdAt][lt]` | string (date-time) | no | Filter createdAt (lt). |
| `filter[id][eq]` | string | no | Filter id (eq). |
| `filter[id][in]` | string | no | Filter id (in). Comma-separated, at most 50 values. |
| `filter[sourceType][eq]` | string | no | Filter sourceType (eq). |
| `filter[sourceType][in]` | string | no | Filter sourceType (in). Comma-separated, at most 50 values. |

## Returns

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

An array of object:
- `collectedAt`: string (date-time) Collection time (UTC).
- `controlId`: string Primary Annex A control id.
- `createdAt`: string (date-time) Creation time (UTC); the sync field (append-only, G-16).
- `id`: string Evidence id (ev_).
- `payloadType`: string json, screenshot, pdf or text.
- `sourceType`: string Collection source, for example aws, okta, manual.
- `stale`: boolean The evidence is older than the control's maximum age.
- 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. |
| 404 | - | no | The resource does not exist in this organisation. |
| 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/iso/projects/<projectId>/evidence" \
  -H "Authorization: Bearer <your-api-token>"
```

### Python

```python
import requests

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

### JavaScript

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

## Response (200)

```json
{
  "data": [
    {
      "collectedAt": "2026-10-13T04:00:00Z",
      "controlId": "A.5.15",
      "createdAt": "2026-10-13T04:00:03Z",
      "id": "ev_1hk3m2b9r1xd",
      "payloadType": "json",
      "sourceType": "okta",
      "stale": false
    },
    {
      "collectedAt": "2026-06-30T12:00:00Z",
      "controlId": "A.8.13",
      "createdAt": "2026-06-30T12:04:00Z",
      "id": "ev_1hj0w7c3k5qe",
      "payloadType": "pdf",
      "sourceType": "manual",
      "stale": true
    }
  ],
  "error": null,
  "meta": {
    "limit": 25,
    "offset": 0,
    "total": 120
  }
}
```
