Retrieve detailed Workflow Execution

async AsyncCogniteClient.workflows.executions.retrieve_detailed(
id: str,
) WorkflowExecutionDetailed | None

Retrieve a workflow execution with detailed information.

Parameters:

id (str) – The server-generated id of the workflow execution.

Returns:

The requested workflow execution if it exists, None otherwise.

Return type:

WorkflowExecutionDetailed | None

Examples

Retrieve workflow execution with id ‘000560bc-9080-4286-b242-a27bb4819253’:

>>> from cognite.client import CogniteClient, AsyncCogniteClient
>>> client = CogniteClient()
>>> # async_client = AsyncCogniteClient()  # another option
>>> res = client.workflows.executions.retrieve_detailed(
...     "000560bc-9080-4286-b242-a27bb4819253"
... )

List workflow executions and retrieve detailed information for the first one:

>>> res = client.workflows.executions.list()
>>> res = client.workflows.executions.retrieve_detailed(res[0].id)