Volver al catálogo

Dify

dify

Run and inspect a published Dify Workflow app through its Service API, including configuration and workflow run history.

Acciones
4
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (4)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get Workflow App ConfigurationDIFY_GET_WORKFLOW_APP_CONFIGURATIONAcción

Return the connected Workflow app's identity, declared input form and upload limits, tool icons, and hosted-site settings. If the app is unpublished, the response identifies the unavailable parameters section while preserving the other metadata.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Workflow RunDIFY_GET_WORKFLOW_RUNAcción

Return one workflow run's status, inputs, arbitrary outputs, error, and execution metrics by run ID.

Parámetros de entrada

  • workflow_run_idstringObligatorio

    Workflow run ID returned by DIFY_RUN_WORKFLOW or DIFY_LIST_WORKFLOW_RUNS.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Workflow RunsDIFY_LIST_WORKFLOW_RUNSAcción

Return one page of run summaries for the connected Workflow app, with filters and a continuation cursor for older or additional runs.

Parámetros de entrada

  • limitinteger

    Maximum run summaries to return in this page (1-100).

  • statusstringenum

    Execution status to include.

    succeededfailedstopped
  • keywordstring

    Keyword to search for in workflow run logs.

  • next_cursorstring

    Continuation cursor returned by the previous call; omit for the first page.

  • created_afterstringdate-time

    Return runs created after this ISO 8601 timestamp.

  • creator_emailstring

    Limit results to runs created by this Dify account email address.

  • created_beforestringdate-time

    Return runs created before this ISO 8601 timestamp.

  • end_user_session_idstring

    Limit results to the end-user session ID that created the run.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Run WorkflowDIFY_RUN_WORKFLOWAcción

Run the connected app's latest published workflow in blocking mode and return its app-defined outputs. Inspect the app configuration first: the configured workflow may perform irreversible external side effects.

Parámetros de entrada

  • userstringObligatorio

    Stable end-user partition key for this run; reuse it for files and later calls tied to the same user.

  • filesobject[]

    Optional files accepted by the app. Each needs type and transfer_method, plus url for remote_url or upload_file_id for local_file.

  • inputsobjectObligatorio

    App-specific workflow inputs keyed by variable name. Call DIFY_GET_WORKFLOW_APP_CONFIGURATION first and follow its user_input_form; values may be strings, numbers, booleans, objects, or file-object arrays.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not