Class SessionWorkflowApi
workflow namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionAPI methods for theworkflow.journalsub-namespace. -
Method Summary
Modifier and TypeMethodDescriptionagent(SessionWorkflowAgentParams params) Parameters for one workflow-scoped subagent call.cancel(SessionWorkflowCancelParams params) Parameters for cancelling a workflow run.getRun(SessionWorkflowGetRunParams params) Parameters for retrieving a workflow run.Parameters for retrieving a workflow run.Parameters for paging workflow progress.Parameters for paging workflow runs.log(SessionWorkflowLogParams params) Parameters for recording workflow progress.pause(SessionWorkflowPauseParams params) Parameters for pausing a running workflow.Parameters for an owned durable pause checkpoint.resume(SessionWorkflowResumeParams params) Parameters for resuming a workflow run from its persisted identity.Internal parameters for resuming a workflow run from a tool.run(SessionWorkflowRunParams params) Parameters for invoking a registered workflow.Internal parameters for invoking a registered workflow from a tool.
-
Field Details
-
journal
API methods for theworkflow.journalsub-namespace.
-
-
Method Details
-
run
@CopilotExperimental public CompletableFuture<SessionWorkflowRunResult> run(SessionWorkflowRunParams params) Parameters for invoking a registered workflow.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
resume
@CopilotExperimental public CompletableFuture<SessionWorkflowResumeResult> resume(SessionWorkflowResumeParams params) Parameters for resuming a workflow run from its persisted identity.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
runFromTool
@CopilotExperimental public CompletableFuture<SessionWorkflowRunFromToolResult> runFromTool(SessionWorkflowRunFromToolParams params) Internal parameters for invoking a registered workflow from a tool.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
resumeFromTool
@CopilotExperimental public CompletableFuture<SessionWorkflowResumeFromToolResult> resumeFromTool(SessionWorkflowResumeFromToolParams params) Internal parameters for resuming a workflow run from a tool.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getRun
@CopilotExperimental public CompletableFuture<SessionWorkflowGetRunResult> getRun(SessionWorkflowGetRunParams params) Parameters for retrieving a workflow run.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
listRuns
@CopilotExperimental public CompletableFuture<SessionWorkflowListRunsResult> listRuns(SessionWorkflowListRunsParams params) Parameters for paging workflow runs.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getRunDetail
@CopilotExperimental public CompletableFuture<SessionWorkflowGetRunDetailResult> getRunDetail(SessionWorkflowGetRunDetailParams params) Parameters for retrieving a workflow run.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getRunProgress
@CopilotExperimental public CompletableFuture<SessionWorkflowGetRunProgressResult> getRunProgress(SessionWorkflowGetRunProgressParams params) Parameters for paging workflow progress.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
cancel
@CopilotExperimental public CompletableFuture<SessionWorkflowCancelResult> cancel(SessionWorkflowCancelParams params) Parameters for cancelling a workflow run.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
pause
@CopilotExperimental public CompletableFuture<SessionWorkflowPauseResult> pause(SessionWorkflowPauseParams params) Parameters for pausing a running workflow.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
pauseAtCheckpoint
@CopilotExperimental public CompletableFuture<SessionWorkflowPauseAtCheckpointResult> pauseAtCheckpoint(SessionWorkflowPauseAtCheckpointParams params) Parameters for an owned durable pause checkpoint.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
log
Parameters for recording workflow progress.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
agent
@CopilotExperimental public CompletableFuture<SessionWorkflowAgentResult> agent(SessionWorkflowAgentParams params) Parameters for one workflow-scoped subagent call.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-