naftiko: 1.0.0-alpha2 info: label: Microsoft Power Automate Management API — Flow Runs description: 'Microsoft Power Automate Management API — Flow Runs. 4 operations. Lead operation: Microsoft Power Automate List Flow Runs. Self-contained Naftiko capability covering one Microsoft Power Automate business surface.' tags: - Microsoft Power Automate - Flow Runs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_POWER_AUTOMATE_API_KEY: MICROSOFT_POWER_AUTOMATE_API_KEY capability: consumes: - type: http namespace: management-flow-runs baseUri: https://api.flow.microsoft.com description: Microsoft Power Automate Management API — Flow Runs business capability. Self-contained, no shared references. resources: - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/runs operations: - name: listflowruns method: GET description: Microsoft Power Automate List Flow Runs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentName in: path type: string description: The name of the environment. required: true - name: flowName in: path type: string description: The name or ID of the flow. required: true - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/runs/{runId} operations: - name: getflowrun method: GET description: Microsoft Power Automate Get Flow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentName in: path type: string description: The name of the environment. required: true - name: flowName in: path type: string description: The name or ID of the flow. required: true - name: runId in: path type: string description: The ID of the flow run. required: true - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/runs/{runId}/cancel operations: - name: cancelflowrun method: POST description: Microsoft Power Automate Cancel Flow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentName in: path type: string description: The name of the environment. required: true - name: flowName in: path type: string description: The name or ID of the flow. required: true - name: runId in: path type: string description: The ID of the flow run to cancel. required: true - name: providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru path: /providers/Microsoft.ProcessSimple/environments/{environmentName}/flows/{flowName}/runs/{runId}/resubmit operations: - name: resubmitflowrun method: POST description: Microsoft Power Automate Resubmit Flow Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentName in: path type: string description: The name of the environment. required: true - name: flowName in: path type: string description: The name or ID of the flow. required: true - name: runId in: path type: string description: The ID of the flow run to resubmit. required: true - name: triggerName in: query type: string description: Name of the flow trigger to resubmit. required: true authentication: type: bearer token: '{{env.MICROSOFT_POWER_AUTOMATE_API_KEY}}' exposes: - type: rest namespace: management-flow-runs-rest port: 8080 description: REST adapter for Microsoft Power Automate Management API — Flow Runs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/runs name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-ru description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru. operations: - method: GET name: listflowruns description: Microsoft Power Automate List Flow Runs call: management-flow-runs.listflowruns with: environmentName: rest.environmentName flowName: rest.flowName outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/runs/{runid} name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-ru description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru. operations: - method: GET name: getflowrun description: Microsoft Power Automate Get Flow Run call: management-flow-runs.getflowrun with: environmentName: rest.environmentName flowName: rest.flowName runId: rest.runId outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/runs/{runid}/cancel name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-ru description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru. operations: - method: POST name: cancelflowrun description: Microsoft Power Automate Cancel Flow Run call: management-flow-runs.cancelflowrun with: environmentName: rest.environmentName flowName: rest.flowName runId: rest.runId outputParameters: - type: object mapping: $. - path: /v1/providers/microsoft-processsimple/environments/{environmentname}/flows/{flowname}/runs/{runid}/resubmit name: providers-microsoft-processsimple-environments-environmentname-flows-flowname-ru description: REST surface for providers-Microsoft.ProcessSimple-environments-environmentName-flows-flowName-ru. operations: - method: POST name: resubmitflowrun description: Microsoft Power Automate Resubmit Flow Run call: management-flow-runs.resubmitflowrun with: environmentName: rest.environmentName flowName: rest.flowName runId: rest.runId triggerName: rest.triggerName outputParameters: - type: object mapping: $. - type: mcp namespace: management-flow-runs-mcp port: 9090 transport: http description: MCP adapter for Microsoft Power Automate Management API — Flow Runs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-power-automate-list-flow description: Microsoft Power Automate List Flow Runs hints: readOnly: true destructive: false idempotent: true call: management-flow-runs.listflowruns with: environmentName: tools.environmentName flowName: tools.flowName outputParameters: - type: object mapping: $. - name: microsoft-power-automate-get-flow description: Microsoft Power Automate Get Flow Run hints: readOnly: true destructive: false idempotent: true call: management-flow-runs.getflowrun with: environmentName: tools.environmentName flowName: tools.flowName runId: tools.runId outputParameters: - type: object mapping: $. - name: microsoft-power-automate-cancel-flow description: Microsoft Power Automate Cancel Flow Run hints: readOnly: false destructive: false idempotent: false call: management-flow-runs.cancelflowrun with: environmentName: tools.environmentName flowName: tools.flowName runId: tools.runId outputParameters: - type: object mapping: $. - name: microsoft-power-automate-resubmit-flow description: Microsoft Power Automate Resubmit Flow Run hints: readOnly: false destructive: false idempotent: false call: management-flow-runs.resubmitflowrun with: environmentName: tools.environmentName flowName: tools.flowName runId: tools.runId triggerName: tools.triggerName outputParameters: - type: object mapping: $.