Class AsyncRawWorkflowsClient
- java.lang.Object
-
- ai.extend.resources.workflows.AsyncRawWorkflowsClient
-
public class AsyncRawWorkflowsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawWorkflowsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>create(WorkflowsCreateRequest request)Create a new workflow.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>create(WorkflowsCreateRequest request, RequestOptions requestOptions)Create a new workflow.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>>list()List all workflows.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>>list(RequestOptions requestOptions)List all workflows.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>>list(WorkflowsListRequest request)List all workflows.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>>list(WorkflowsListRequest request, RequestOptions requestOptions)List all workflows.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>retrieve(java.lang.String id)Get details of a workflow, including its draft version and steps.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>retrieve(java.lang.String id, RequestOptions requestOptions)Get details of a workflow, including its draft version and steps.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>update(java.lang.String id)Update a workflow's draft.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>update(java.lang.String id, RequestOptions requestOptions)Update a workflow's draft.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>update(java.lang.String id, WorkflowsUpdateRequest request)Update a workflow's draft.java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>>update(java.lang.String id, WorkflowsUpdateRequest request, RequestOptions requestOptions)Update a workflow's draft.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawWorkflowsClient
public AsyncRawWorkflowsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>> list()
List all workflows. Returns a paginated list of workflow summaries.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>> list(RequestOptions requestOptions)
List all workflows. Returns a paginated list of workflow summaries.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>> list(WorkflowsListRequest request)
List all workflows. Returns a paginated list of workflow summaries.
-
list
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<WorkflowsListResponse>> list(WorkflowsListRequest request, RequestOptions requestOptions)
List all workflows. Returns a paginated list of workflow summaries.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> create(WorkflowsCreateRequest request)
Create a new workflow. Optionally providestepsto define the workflow's step graph.When
stepsis omitted, the workflow is created with default steps (TRIGGER→PARSE). Whenstepsis provided, the step graph is validated and the draft version is populated with the given steps.Note: The default steps may change in the future. If your integration depends on a specific step graph, provide
stepsexplicitly.
-
create
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> create(WorkflowsCreateRequest request, RequestOptions requestOptions)
Create a new workflow. Optionally providestepsto define the workflow's step graph.When
stepsis omitted, the workflow is created with default steps (TRIGGER→PARSE). Whenstepsis provided, the step graph is validated and the draft version is populated with the given steps.Note: The default steps may change in the future. If your integration depends on a specific step graph, provide
stepsexplicitly.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> retrieve(java.lang.String id)
Get details of a workflow, including its draft version and steps.
-
retrieve
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> retrieve(java.lang.String id, RequestOptions requestOptions)
Get details of a workflow, including its draft version and steps.
-
update
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> update(java.lang.String id)
Update a workflow's draft. You can update the name, the steps, or both.When
stepsis provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.
-
update
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> update(java.lang.String id, RequestOptions requestOptions)
Update a workflow's draft. You can update the name, the steps, or both.When
stepsis provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.
-
update
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> update(java.lang.String id, WorkflowsUpdateRequest request)
Update a workflow's draft. You can update the name, the steps, or both.When
stepsis provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.
-
update
public java.util.concurrent.CompletableFuture<ExtendClientBaseHttpResponse<Workflow>> update(java.lang.String id, WorkflowsUpdateRequest request, RequestOptions requestOptions)
Update a workflow's draft. You can update the name, the steps, or both.When
stepsis provided, the draft version's steps are replaced with the new set. Steps with matching names from the previous draft preserve their internal identity.
-
-