MCPcopy Create free account
hub / github.com/astercloud/aster / execute

Method execute

client-sdks/client-js/src/resources/workflow.ts:100–105  ·  view source on GitHub ↗

* 执行 Workflow * @param workflowId Workflow ID * @param request 执行请求 * @returns Workflow 执行记录

(workflowId: string, request: ExecuteWorkflowRequest)

Source from the content-addressed store, hash-verified

98 * @returns Workflow 执行记录
99 */
100 async execute(workflowId: string, request: ExecuteWorkflowRequest): Promise<WorkflowRun> {
101 return this.request<WorkflowRun>(`/v1/workflows/${workflowId}/execute`, {
102 method: "POST",
103 body: request,
104 });
105 }
106
107 /**
108 * 暂停 Workflow 执行

Callers 1

mainFunction · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected