api.compute

terminals.list()

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

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

Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const terminals = await api.compute.terminals.list();
const forStorage = await api.compute.terminals.list("YOUR_OBJECT_STORAGE_ID");
terminals = api.compute.terminals.list()
for_storage = api.compute.terminals.list("YOUR_OBJECT_STORAGE_ID")
storageIdstring|null

When provided, only terminals using this Object Storage are returned.

Returns an array of ComputeTerminal instances. An empty array means no matching open terminals.