Class RawWorkflowVersionsClient
- java.lang.Object
-
- ai.extend.resources.workflowversions.RawWorkflowVersionsClient
-
public class RawWorkflowVersionsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawWorkflowVersionsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendClientBaseHttpResponse<WorkflowVersion>create(java.lang.String id)Deploy a new version of a workflow.ExtendClientBaseHttpResponse<WorkflowVersion>create(java.lang.String id, RequestOptions requestOptions)Deploy a new version of a workflow.ExtendClientBaseHttpResponse<WorkflowVersion>create(java.lang.String id, WorkflowVersionsCreateRequest request)Deploy a new version of a workflow.ExtendClientBaseHttpResponse<WorkflowVersion>create(java.lang.String id, WorkflowVersionsCreateRequest request, RequestOptions requestOptions)Deploy a new version of a workflow.ExtendClientBaseHttpResponse<WorkflowVersionsListResponse>list(java.lang.String id)List all versions of a workflow, including the draft version.ExtendClientBaseHttpResponse<WorkflowVersionsListResponse>list(java.lang.String id, RequestOptions requestOptions)List all versions of a workflow, including the draft version.ExtendClientBaseHttpResponse<WorkflowVersionsListResponse>list(java.lang.String id, WorkflowVersionsListRequest request)List all versions of a workflow, including the draft version.ExtendClientBaseHttpResponse<WorkflowVersionsListResponse>list(java.lang.String id, WorkflowVersionsListRequest request, RequestOptions requestOptions)List all versions of a workflow, including the draft version.ExtendClientBaseHttpResponse<WorkflowVersion>retrieve(java.lang.String id, java.lang.String versionId)Get a specific version of a workflow, including its step definitions.ExtendClientBaseHttpResponse<WorkflowVersion>retrieve(java.lang.String id, java.lang.String versionId, RequestOptions requestOptions)Get a specific version of a workflow, including its step definitions.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawWorkflowVersionsClient
public RawWorkflowVersionsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public ExtendClientBaseHttpResponse<WorkflowVersionsListResponse> list(java.lang.String id)
List all versions of a workflow, including the draft version. Returns a paginated list of version summaries.
-
list
public ExtendClientBaseHttpResponse<WorkflowVersionsListResponse> list(java.lang.String id, RequestOptions requestOptions)
List all versions of a workflow, including the draft version. Returns a paginated list of version summaries.
-
list
public ExtendClientBaseHttpResponse<WorkflowVersionsListResponse> list(java.lang.String id, WorkflowVersionsListRequest request)
List all versions of a workflow, including the draft version. Returns a paginated list of version summaries.
-
list
public ExtendClientBaseHttpResponse<WorkflowVersionsListResponse> list(java.lang.String id, WorkflowVersionsListRequest request, RequestOptions requestOptions)
List all versions of a workflow, including the draft version. Returns a paginated list of version summaries.
-
create
public ExtendClientBaseHttpResponse<WorkflowVersion> create(java.lang.String id)
Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.When
stepsis omitted, the current draft is deployed as-is. Whenstepsis provided, the given steps are deployed directly without modifying the draft.
-
create
public ExtendClientBaseHttpResponse<WorkflowVersion> create(java.lang.String id, RequestOptions requestOptions)
Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.When
stepsis omitted, the current draft is deployed as-is. Whenstepsis provided, the given steps are deployed directly without modifying the draft.
-
create
public ExtendClientBaseHttpResponse<WorkflowVersion> create(java.lang.String id, WorkflowVersionsCreateRequest request)
Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.When
stepsis omitted, the current draft is deployed as-is. Whenstepsis provided, the given steps are deployed directly without modifying the draft.
-
create
public ExtendClientBaseHttpResponse<WorkflowVersion> create(java.lang.String id, WorkflowVersionsCreateRequest request, RequestOptions requestOptions)
Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.When
stepsis omitted, the current draft is deployed as-is. Whenstepsis provided, the given steps are deployed directly without modifying the draft.
-
retrieve
public ExtendClientBaseHttpResponse<WorkflowVersion> retrieve(java.lang.String id, java.lang.String versionId)
Get a specific version of a workflow, including its step definitions.
-
retrieve
public ExtendClientBaseHttpResponse<WorkflowVersion> retrieve(java.lang.String id, java.lang.String versionId, RequestOptions requestOptions)
Get a specific version of a workflow, including its step definitions.
-
-