MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getRunResult

Method getRunResult

backend/src/workflows/workflows.service.ts:1159–1165  ·  view source on GitHub ↗
(runId: string, temporalRunId?: string, auth?: AuthContext | null)

Source from the content-addressed store, hash-verified

1157 }
1158
1159 async getRunResult(runId: string, temporalRunId?: string, auth?: AuthContext | null) {
1160 this.logger.log(
1161 `Fetching result for workflow run ${runId} (temporalRunId=${temporalRunId ?? 'latest'})`,
1162 );
1163 await this.requireRunAccess(runId, auth);
1164 return this.temporalService.getWorkflowResult({ workflowId: runId, runId: temporalRunId });
1165 }
1166
1167 async getRunConfig(runId: string, auth?: AuthContext | null): Promise<WorkflowRunConfigPayload> {
1168 const { run } = await this.requireRunAccess(runId, auth);

Callers 3

resultMethod · 0.45
registerRunToolsMethod · 0.45

Calls 2

requireRunAccessMethod · 0.95
getWorkflowResultMethod · 0.80

Tested by

no test coverage detected