Get Workflow Execution Statistics

Get Workflow Execution Statistics

Retrieves statistics for given workflow run.

Request
URI
GET
https://{api_host}/vco/api/workflows/{workflowId}/executions/{executionId}/statistics
COPY
Path Parameters
string
workflowId
Required

workflowId

string
executionId
Required

executionId


Responses
200

The request is successful

Returns workflow-execution-statistics of type(s) application/json
{
    "activities": [
        {
            "activities": [
                "activity-statistics Object"
            ],
            "id": "string",
            "total-time": 0,
            "number-of-executions": 0,
            "number-of-transitions": 0,
            "max-time": 0
        }
    ],
    "id": "string",
    "total-time": 0,
    "number-of-transitions": 0,
    "total-number-of-transitions": 0,
    "token-size": 0,
    "token-blocked": 0,
    "token-system": 0,
    "token-user": 0,
    "token-wait": 0,
    "plugins": [
        {
            "details": [
                {
                    "key": "string",
                    "value": 0
                }
            ],
            "plugin-name": "string",
            "total-time": 0,
            "number-of-executions": 0
        }
    ]
}
activities
Optional

activities

string
id
Optional

id

integer As int64 As int64
total-time
Optional

total-time

integer As int64 As int64
number-of-transitions
Optional

number-of-transitions

integer As int64 As int64
total-number-of-transitions
Optional

total-number-of-transitions

integer As int64 As int64
token-size
Optional

token-size

integer As int64 As int64
token-blocked
Optional

token-blocked

integer As int64 As int64
token-system
Optional

token-system

integer As int64 As int64
token-user
Optional

token-user

integer As int64 As int64
token-wait
Optional

token-wait

plugins
Optional

plugins


204

No content

Operation doesn't return any data structure

400

The request is invalid(validation error)

Operation doesn't return any data structure

401

The user is not authorized

Operation doesn't return any data structure

404

Cannot find a workflow with the specified ID or the user does not have 'read' access rights for that workflow

Operation doesn't return any data structure