# prov.attest.cases.list

prov.attest.cases.list in Node SDK. The triage queue, cases with live overall risk, filterable + sortable.

## Signature

```ts
prov.attest.cases.list(params?: ListCasesParams): Promise<ListResponse<CaseSummary>>
```

## Parameters

- `params` (ListCasesParams, optional)

## Returns

`Promise<ListResponse<CaseSummary>>`

## HTTP operation

[`GET /v1/attest/cases`](https://provenanceauth.com/docs/api/cases.md#get-v1-attest-cases): List cases

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/cases?status=escalated&limit=1`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/cases?status=escalated&limit=1", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```
