Get workflow execution details
Returns the details of a specific workflow execution.
This operation requires space_view_atm_workflow_executions privilege and
the requesting user must belong to the automation inventory containing the
corresponding workflow schema definition.
Example cURL requests
Get workflow execution details
curl -H "X-Auth-Token: $TOKEN" \
-X GET "https://$PROVIDER_HOST/api/v3/oneprovider/automation/execution/workflows/$ATM_WORKFLOW_EXECUTION_ID"
{
"atmWorkflowExecutionId": "11a53ed06d175c89bc3ed5be61f8217cch1890",
"atmWorkflowSchemaSnapshotId": "821711ad53ed06be61f175c89bc3ed5cch1890",
"name": "test execution",
"atmInventoryId": "2d180796daafcf15d586d29dd13dae48chd5fc",
"spaceId": "c17147cc3188408c26f522881282cb83ch9853",
"userId": "08c26cc228812c3188417147f582cb83ch9853",
"status": "enqueued",
"scheduleTime": 1626107063,
"startTime": 0,
"suspendTime": 0,
"finishTime": 0,
"lambdaSnapshotRegistry": {
"e412848d415329d81b7edd15c80b7740chf93f": "3946496fb29e3cf3faa96dbbd58d42d9ch9e3c"
},
"storeRegistry": {
"216a5de15ba9f8f3138168682c3da954212abf": "805392e2b84fb7e6ff5b31b4b7e70845ch1995"
},
"systemAuditLogStoreId": "1439ca4dee1a251483923f4535bca500e72f2a",
"lanes": [
{
"schemaId": "3a1a829f714a41b043c4ce67402d8c136f125f",
"runs": [
{
"runNumber": 3,
"originRunNumber": 1,
"runType": "retry",
"status": "pending",
"iteratedStoreId": "1b502545a3f9faa7f1e339f4aea793117be91d",
"exceptionStoreId": "98c669ec69c0394a38391c0ab0117f67ch260d",
"parallelBoxes": [
{
"taskRegistry": {
"d92b861a5edfb08b920e0e80f4670a87f48176": "1697f7c1f46e0e22bb426bead5a3cb47chda3d"
},
"schemaId": "0068146d662adc878f699bf82af08b9ddbd9ab"
}
],
"isRetriable": false,
"isRerunable": false
},
...
]
}
]
}
Path parameters
| Parameter | Type & Description |
|---|---|
| wid required | string Workflow execution Id. |
Request Examples
oneprovider-rest-cli getWorkflowExecutionDetails wid=$ATM_WORKFLOW_EXECUTION_IDResponses
Workflow execution details.
Id of this workflow execution.
Id of the snapshot of the workflow schema describing the tasks and stores for this workflow.
Name of the workflow schema used for this execution.
Id of automation inventory from which the workflow schema originates.
Id of the space in context of which the workflow was executed.
Id of the scheduling user.
Overall status of the workflow execution.
Schedule time in seconds (POSIX epoch timestamp).
Start time in seconds (POSIX epoch timestamp).
Suspend time in seconds (POSIX epoch timestamp).
Finish time in seconds (POSIX epoch timestamp).
Map with lambda Ids (keys) and corresponding snapshot Ids.
Map with store schema Ids (keys) and corresponding store instance Ids.
Id of this execution system audit log store.
lanes array of objects Details of lanes in this workflow execution.
Details of lanes in this workflow execution.
Id of the lane schema used for this execution.
runs array of objects (AtmWorkflowExecutionLaneRunDetails) Basic information about lane's runs.
Basic information about lane's runs.
Number of workflow execution run in which this lane run is included. When prepared in advance, this value is null, as the specific number is not yet known.
Number of workflow execution lane run on which this lane run is based in case of repeat (either rerun or retry) or null otherwise.
Type of lane run.
Overall status of the lane run.
Id of this lane run iterated store.
Id of this lane run exception store.
parallelBoxes required array of objects Details of parallel boxes in this lane run.
Details of parallel boxes in this lane run.
Id of the parallel box schema used for this execution.
Map with task schema Ids (keys) and corresponding task execution Ids.
Indicates whether this lane execution run can be retried or not.
Indicates whether this lane execution run can be rerun or not.
Example
{
"atmWorkflowExecutionId": "11a53ed06d175c89bc3ed5be61f8217cch1890",
"atmWorkflowSchemaSnapshotId": "821711ad53ed06be61f175c89bc3ed5cch1890",
"name": "test execution",
"atmInventoryId": "2d180796daafcf15d586d29dd13dae48chd5fc",
"spaceId": "c17147cc3188408c26f522881282cb83ch9853",
"userId": "08c26cc228812c3188417147f582cb83ch9853",
"status": "enqueued",
"scheduleTime": 1626107063,
"startTime": 0,
"suspendTime": 0,
"finishTime": 0,
"lambdaSnapshotRegistry": {
"e412848d415329d81b7edd15c80b7740chf93f": "3946496fb29e3cf3faa96dbbd58d42d9ch9e3c"
},
"storeRegistry": {
"216a5de15ba9f8f3138168682c3da954212abf": "805392e2b84fb7e6ff5b31b4b7e70845ch1995"
},
"systemAuditLogStoreId": "1439ca4dee1a251483923f4535bca500e72f2a",
"lanes": [
{
"schemaId": "3a1a829f714a41b043c4ce67402d8c136f125f",
"runs": [
{
"runNumber": 1,
"originRunNumber": null,
"runType": "regular",
"status": "pending",
"iteratedStoreId": "1b502545a3f9faa7f1e339f4aea793117be91d",
"exceptionStoreId": "98c669ec69c0394a38391c0ab0117f67ch260d",
"parallelBoxes": {
"schemaId": "0068146d662adc878f699bf82af08b9ddbd9ab",
"taskRegistry": {
"d92b861a5edfb08b920e0e80f4670a87f48176": "1697f7c1f46e0e22bb426bead5a3cb47chda3d"
}
},
"isRetriable": false,
"isRerunable": false
}
]
}
]
}Invalid request.
error object (ErrorJson) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
ctx required object (ErrorJsonCtx) Technical information about error.
Technical information about error.
Timestamp in milliseconds.
Release version of a product, for example "25.1".
Identifier of a service instance — either Oneprovider Id or "onezone".
Domain of the service.
Build version of the service.
Short name of service.
Revision of onedata-errors repo, where the error is defined.
Module where the error occurred.
Line number in the module where the error occurred.
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.1",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}Forbidden request.
error object (ErrorJson) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
ctx required object (ErrorJsonCtx) Technical information about error.
Technical information about error.
Timestamp in milliseconds.
Release version of a product, for example "25.1".
Identifier of a service instance — either Oneprovider Id or "onezone".
Domain of the service.
Build version of the service.
Short name of service.
Revision of onedata-errors repo, where the error is defined.
Module where the error occurred.
Line number in the module where the error occurred.
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.1",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}Workflow execution with provided Id was not found.
error object (ErrorJson) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
ctx required object (ErrorJsonCtx) Technical information about error.
Technical information about error.
Timestamp in milliseconds.
Release version of a product, for example "25.1".
Identifier of a service instance — either Oneprovider Id or "onezone".
Domain of the service.
Build version of the service.
Short name of service.
Revision of onedata-errors repo, where the error is defined.
Module where the error occurred.
Line number in the module where the error occurred.
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.1",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}Internal server error.
error object (ErrorJson) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
ctx required object (ErrorJsonCtx) Technical information about error.
Technical information about error.
Timestamp in milliseconds.
Release version of a product, for example "25.1".
Identifier of a service instance — either Oneprovider Id or "onezone".
Domain of the service.
Build version of the service.
Short name of service.
Revision of onedata-errors repo, where the error is defined.
Module where the error occurred.
Line number in the module where the error occurred.
Example
{
"error": {
"id": "example",
"description": "This is an example error.",
"ctx": {
"timestamp": 1750762637248,
"serviceReleaseVersion": "25.1",
"serviceId": "a7ee2722915b8bf7fb064eb65087cc61ch9357",
"serviceDomain": "dev-oneprovider-krakow.default.svc.cluster.local",
"serviceBuildVersion": "231-g8d26f953c3",
"service": "opw",
"onedataErrorsRevision": "ca3af8cb",
"module": "metadata_req",
"line": 45
}
}
}