List Triggers

async AsyncCogniteClient.workflows.triggers.list(
limit: int | None = 25,
) WorkflowTriggerList

List the workflow triggers.

Parameters:

limit (int | None) – Maximum number of results to return. Defaults to 25. Set to -1, float(“inf”) or None to return all items.

Returns:

The list of triggers.

Return type:

WorkflowTriggerList

Examples

List all triggers:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.workflows.triggers.list(limit=None)