Saltar al contenido principal
GET
/
v1
/
workflow
/
{flow_id}
/
executions
List flow executions
import requests

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

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

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

print(response.text)
{
  "data": [
    {
      "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>"
      }
    }
  ],
  "has_more": true,
  "first_id": "<string>",
  "last_id": "<string>",
  "current_page": 123,
  "total_pages": 123
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

flow_id
string
requerido

Parámetros de consulta

after
string | null
before
string | null
page
integer | null
Rango requerido: x >= 1
limit
integer
predeterminado:10
Rango requerido: 1 <= x <= 30
order
string
predeterminado:desc
Allowed value: "desc"
status
enum<string> | null
Opciones disponibles:
QUEUED,
RUNNING,
PAUSED,
SUCCEEDED,
FAILED,
TIMEOUT,
CANCELED,
INTERNAL_ERROR,
QUOTA_EXCEEDED,
MEMORY_LIMIT_EXCEEDED
created_after
string<date-time> | null
created_before
string<date-time> | null

Respuesta

Successful Response

data
FlowRunResponse · object[]
requerido
has_more
boolean
requerido
first_id
string | null
last_id
string | null
current_page
integer | null
total_pages
integer | null