Package ai.extend.resources.workflow
Class WorkflowClient
- java.lang.Object
-
- ai.extend.resources.workflow.WorkflowClient
-
public class WorkflowClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description WorkflowClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowCreateResponsecreate(WorkflowCreateRequest request)Create a new workflow in Extend.WorkflowCreateResponsecreate(WorkflowCreateRequest request, RequestOptions requestOptions)Create a new workflow in Extend.RawWorkflowClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
WorkflowClient
public WorkflowClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawWorkflowClient withRawResponse()
Get responses with HTTP metadata like headers
-
create
public WorkflowCreateResponse create(WorkflowCreateRequest request)
Create a new workflow in Extend. Workflows are sequences of steps that process files and data in a specific order to achieve a desired outcome.This endpoint will create a new workflow in Extend, which can then be configured and deployed. Typically, workflows are created from our UI, however this endpoint can be used to create workflows programmatically. Configuration of the flow still needs to be done in the dashboard.
-
create
public WorkflowCreateResponse create(WorkflowCreateRequest request, RequestOptions requestOptions)
Create a new workflow in Extend. Workflows are sequences of steps that process files and data in a specific order to achieve a desired outcome.This endpoint will create a new workflow in Extend, which can then be configured and deployed. Typically, workflows are created from our UI, however this endpoint can be used to create workflows programmatically. Configuration of the flow still needs to be done in the dashboard.
-
-