Class RawWorkflowRunClient


  • public class RawWorkflowRunClient
    extends java.lang.Object
    • Constructor Detail

      • RawWorkflowRunClient

        public RawWorkflowRunClient​(ClientOptions clientOptions)
    • Method Detail

      • list

        public ExtendClientHttpResponse<WorkflowRunListResponse> list()
        List runs of a Workflow. Workflows are sequences of steps that process files and data in a specific order to achieve a desired outcome. A WorkflowRun represents a single execution of a workflow against a file.
      • create

        public ExtendClientHttpResponse<WorkflowRunCreateResponse> create​(WorkflowRunCreateRequest request)
        Run a Workflow with files. A Workflow is a sequence of steps that process files and data in a specific order to achieve a desired outcome. A WorkflowRun will be created for each file processed. A WorkflowRun represents a single execution of a workflow against a file.
      • delete

        public ExtendClientHttpResponse<WorkflowRunDeleteResponse> delete​(java.lang.String workflowRunId)
        Delete a workflow run and all associated data from Extend. This operation is permanent and cannot be undone.

        This endpoint can be used if you'd like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.

      • delete

        public ExtendClientHttpResponse<WorkflowRunDeleteResponse> delete​(java.lang.String workflowRunId,
                                                                          RequestOptions requestOptions)
        Delete a workflow run and all associated data from Extend. This operation is permanent and cannot be undone.

        This endpoint can be used if you'd like to manage data retention on your own rather than automated data retention policies. Or make one-off deletions for your downstream customers.

      • cancel

        public ExtendClientHttpResponse<WorkflowRunCancelResponse> cancel​(java.lang.String workflowRunId)
        Cancel a running workflow run by its ID. This endpoint allows you to stop a workflow run that is currently in progress.

        Note: Only workflow runs with a status of PROCESSING or PENDING can be cancelled. Workflow runs that are completed, failed, in review, rejected, or already cancelled cannot be cancelled.

      • cancel

        public ExtendClientHttpResponse<WorkflowRunCancelResponse> cancel​(java.lang.String workflowRunId,
                                                                          RequestOptions requestOptions)
        Cancel a running workflow run by its ID. This endpoint allows you to stop a workflow run that is currently in progress.

        Note: Only workflow runs with a status of PROCESSING or PENDING can be cancelled. Workflow runs that are completed, failed, in review, rejected, or already cancelled cannot be cancelled.