Saltar al contenido principal
GET
/
v1
/
workflow
/
executions
/
{run_id}
Get execution detail
import requests

url = "https://api.diga.io/v1/workflow/executions/{run_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "<string>",
  "flowId": "<string>",
  "created": "2023-11-07T05:31:56Z",
  "updated": "2023-11-07T05:31:56Z",
  "flowDisplayName": "<string>",
  "startTime": "2023-11-07T05:31:56Z",
  "finishTime": "2023-11-07T05:31:56Z",
  "duration": 123,
  "stepsCount": 123,
  "tags": [
    "<string>"
  ],
  "failedStep": {
    "name": "<string>",
    "displayName": "<string>"
  },
  "steps": {}
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

run_id
string
requerido

Respuesta

Successful Response

Detail view — includes step outputs.

id
string
requerido
flowId
string
requerido
status
enum<string>
requerido
Opciones disponibles:
QUEUED,
RUNNING,
PAUSED,
SUCCEEDED,
FAILED,
TIMEOUT,
CANCELED,
INTERNAL_ERROR,
QUOTA_EXCEEDED,
MEMORY_LIMIT_EXCEEDED
created
string<date-time>
requerido
updated
string<date-time>
requerido
flowDisplayName
string | null
startTime
string<date-time> | null
finishTime
string<date-time> | null
duration
integer | null
stepsCount
integer | null
tags
string[] | null
failedStep
FailedStepResponse · object | null
steps
Steps · object | null