Saltar al contenido principal
POST
/
v1
/
workflow
/
{flow_id}
/
test
Test full flow
import requests

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

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

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

print(response.text)
{
  "success": true,
  "runId": "<string>",
  "duration": 123,
  "steps": {}
}

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

Respuesta

Successful Response

Result of testing the full flow.

success
boolean
requerido
runId
string
requerido
status
enum<string>
requerido
Opciones disponibles:
QUEUED,
RUNNING,
PAUSED,
SUCCEEDED,
FAILED,
TIMEOUT,
CANCELED,
INTERNAL_ERROR,
QUOTA_EXCEEDED,
MEMORY_LIMIT_EXCEEDED
duration
integer | null
steps
Steps · object | null