Ongoing Runs

Ongoing Runs

Get total count of ongoing runs for all organizations

Request
URI
GET
https://{api_host}/tca/swfe/automation/api/v1/workflow-runs/stats/running
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AutomationapiListOrgWiseOngoingRunsResponse of type(s) application/json
{
    "orgDistribution": [
        {
            "count": 0,
            "organizationId": "string"
        }
    ],
    "total": 0
}
orgDistribution
Optional

orgDistribution

integer
total
Optional

total


400

Bad Request

Returns RestErrResponse of type(s) application/json
{
    "code": 0,
    "context": {},
    "error": "string",
    "status": "string"
}
integer
code
Optional

Application-specific error code.

object
context
Optional

Application context.

string
error
Optional

Error message.

string
status
Optional

Status text.


403

Forbidden

Returns RestErrResponse of type(s) application/json
{
    "code": 0,
    "context": {},
    "error": "string",
    "status": "string"
}
integer
code
Optional

Application-specific error code.

object
context
Optional

Application context.

string
error
Optional

Error message.

string
status
Optional

Status text.


500

Internal Server Error

Returns RestErrResponse of type(s) application/json
{
    "code": 0,
    "context": {},
    "error": "string",
    "status": "string"
}
integer
code
Optional

Application-specific error code.

object
context
Optional

Application context.

string
error
Optional

Error message.

string
status
Optional

Status text.