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

Method getRunConfig

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

Source from the content-addressed store, hash-verified

1165 }
1166
1167 async getRunConfig(runId: string, auth?: AuthContext | null): Promise<WorkflowRunConfigPayload> {
1168 const { run } = await this.requireRunAccess(runId, auth);
1169 return {
1170 runId: run.runId,
1171 workflowId: run.workflowId,
1172 workflowVersionId: run.workflowVersionId ?? null,
1173 workflowVersion: run.workflowVersion ?? null,
1174 inputs: run.inputs ?? {},
1175 };
1176 }
1177
1178 async getWorkflowVersion(workflowId: string, versionId: string, auth?: AuthContext | null) {
1179 const organizationId = this.requireOrganizationId(auth);

Callers 2

configMethod · 0.80

Calls 1

requireRunAccessMethod · 0.95

Tested by

no test coverage detected