# terminals.list()

Canonical URL: https://developers.iagenify.com/de/sdk/ref/compute/terminals/list/
Language: de

`api.compute.terminals.list(storageId?) → Promise<ComputeTerminal[]>`

List open terminals for the account, or filter them by Object Storage ID.

```javascript
const terminals = await api.compute.terminals.list();
const forStorage = await api.compute.terminals.list("YOUR_OBJECT_STORAGE_ID");
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `storageId` | string|null |  | When provided, only terminals using this Object Storage are returned. |

Returns an array of [ComputeTerminal](/de/sdk/ref/compute-terminal) instances. An empty array means no matching open terminals.

```python
terminals = api.compute.terminals.list()
for_storage = api.compute.terminals.list("YOUR_OBJECT_STORAGE_ID")
```
