List transformation notifications

async AsyncCogniteClient.transformations.notifications.list(
transformation_id: int | None = None,
transformation_external_id: str | None = None,
destination: str | None = None,
limit: int | None = 25,
) TransformationNotificationList

List notification subscriptions.

Parameters:
  • transformation_id (int | None) – Filter by transformation internal numeric ID.

  • transformation_external_id (str | None) – Filter by transformation externalId.

  • destination (str | None) – Filter by notification destination.

  • limit (int | None) – Limits the number of results to be returned. To retrieve all results use limit=-1, default limit is 25.

Returns:

List of transformation notifications

Return type:

TransformationNotificationList

Example

List all notifications:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> notifications_list = client.transformations.notifications.list()

List all notifications by transformation id:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> notifications_list = client.transformations.notifications.list(transformation_id = 1)