res = client.workflows.executions.retrieve_detailed("000560bc-9080-4286-b242-a27bb4819253")
res = client.workflows.executions.list()
res = client.workflows.executions.retrieve_detailed(res[0].id){
"id": "059edaa4-a17a-4102-910e-2c3591500cce",
"workflowExternalId": "<string>",
"workflowDefinition": {
"hash": "<string>",
"tasks": [
{
"externalId": "<string>",
"type": "function",
"parameters": {
"function": {
"externalId": "my.known.id",
"data": {
"key1": "value1",
"key2": "value2"
}
},
"isAsyncComplete": false
},
"name": "<string>",
"description": "<string>",
"retries": 3,
"timeout": 3600,
"onFailure": "abortWorkflow",
"dependsOn": [
{
"externalId": "my.known.id"
}
]
}
],
"description": "<string>"
},
"status": "RUNNING",
"engineExecutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"executedTasks": [
{
"id": "<string>",
"externalId": "<string>",
"status": "IN_PROGRESS",
"taskType": "function",
"input": {
"function": {
"externalId": "my.known.id",
"data": {
"key1": "value1",
"key2": "value2"
}
},
"isAsyncComplete": false
},
"output": {
"callId": 123,
"functionId": 123,
"response": {}
},
"parentTaskExternalId": "<string>",
"startTime": 1730204346000,
"endTime": 1730204346000,
"reasonForIncompletion": "<string>"
}
],
"metadata": {},
"createdTime": 1730204346000,
"version": "<string>",
"input": {
"key1": "value1",
"key2": "value2"
},
"startTime": 1730204346000,
"endTime": 1730204346000,
"reasonForIncompletion": "<string>"
}Required capabilities:
workflowOrchestrationACL:READ
Retrieve detailed information about a specific workflow execution.
res = client.workflows.executions.retrieve_detailed("000560bc-9080-4286-b242-a27bb4819253")
res = client.workflows.executions.list()
res = client.workflows.executions.retrieve_detailed(res[0].id){
"id": "059edaa4-a17a-4102-910e-2c3591500cce",
"workflowExternalId": "<string>",
"workflowDefinition": {
"hash": "<string>",
"tasks": [
{
"externalId": "<string>",
"type": "function",
"parameters": {
"function": {
"externalId": "my.known.id",
"data": {
"key1": "value1",
"key2": "value2"
}
},
"isAsyncComplete": false
},
"name": "<string>",
"description": "<string>",
"retries": 3,
"timeout": 3600,
"onFailure": "abortWorkflow",
"dependsOn": [
{
"externalId": "my.known.id"
}
]
}
],
"description": "<string>"
},
"status": "RUNNING",
"engineExecutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"executedTasks": [
{
"id": "<string>",
"externalId": "<string>",
"status": "IN_PROGRESS",
"taskType": "function",
"input": {
"function": {
"externalId": "my.known.id",
"data": {
"key1": "value1",
"key2": "value2"
}
},
"isAsyncComplete": false
},
"output": {
"callId": 123,
"functionId": 123,
"response": {}
},
"parentTaskExternalId": "<string>",
"startTime": 1730204346000,
"endTime": 1730204346000,
"reasonForIncompletion": "<string>"
}
],
"metadata": {},
"createdTime": 1730204346000,
"version": "<string>",
"input": {
"key1": "value1",
"key2": "value2"
},
"startTime": 1730204346000,
"endTime": 1730204346000,
"reasonForIncompletion": "<string>"
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
UUIDv4 identifier for a workflow execution.
36"059edaa4-a17a-4102-910e-2c3591500cce"
Details of a workflow execution
UUIDv4 identifier for a workflow execution.
36"059edaa4-a17a-4102-910e-2c3591500cce"
Identifier for a workflow. Must be unique for the project. No trailing or leading whitespace and no null characters allowed.
255Show child attributes
RUNNING, COMPLETED, FAILED, TIMED_OUT, TERMINATED Additional UUIDv4 identifier for an execution. Useful for Cognite support to diagnose issues.
36Show child attributes
Custom, application-specific metadata. String key -> String value. Keys have a maximum length of 32 characters, values a maximum of 255, and there can be a maximum of 10 key-value pairs.
Show child attributes
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
Identifier for a version. Must be unique for the workflow. No trailing or leading whitespace and no null characters allowed.
255Input data to the workflow. The content of the input data can be used as input to the workflow tasks using references. The input data should be in JSON format, and is limited to 100KB in size.
{ "key1": "value1", "key2": "value2" }The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
Human-readable reason for terminal failure of a workflow task.
Was this page helpful?