List

async AsyncCogniteClient.data_modeling.streams.templates.list() → StreamTemplateInfoList

List stream templates.

Lists the stream templates streams can be created from in the project, together with their limits and lifecycle settings. Templates with no streams provisioned are not included.

Note

This endpoint is in alpha, and is called with the alpha cdf-version header.

Returns:

The available stream templates, sorted by name.

Return type:

StreamTemplateInfoList

Examples

List the stream templates available in the project:

>>> from cognite.client import CogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.data_modeling.streams.templates.list()