Microsoft Power Platform REST API — Flow Runs

Microsoft Power Platform REST API — Flow Runs. 1 operations. Lead operation: List Flow Runs. Self-contained Naftiko capability covering one Power Platform business surface.

Run with Naftiko Power PlatformFlow Runs

What You Can Do

GET
Listflowruns — List Flow Runs
/v1/powerautomate/environments/{environmentid}/flowruns

MCP Tools

list-flow-runs

List Flow Runs

read-only idempotent

Capability Spec

power-platform-flow-runs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power Platform REST API — Flow Runs
  description: 'Microsoft Power Platform REST API — Flow Runs. 1 operations. Lead operation: List Flow Runs. Self-contained
    Naftiko capability covering one Power Platform business surface.'
  tags:
  - Power Platform
  - Flow Runs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POWER_PLATFORM_API_KEY: POWER_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: power-platform-flow-runs
    baseUri: https://api.powerplatform.com
    description: Microsoft Power Platform REST API — Flow Runs business capability. Self-contained, no shared references.
    resources:
    - name: powerautomate-environments-environmentId-flowRuns
      path: /powerautomate/environments/{environmentId}/flowRuns
      operations:
      - name: listflowruns
        method: GET
        description: List Flow Runs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentId
          in: path
          type: string
          description: The unique identifier of the environment.
          required: true
        - name: workflowId
          in: query
          type: string
          description: The workflow ID to retrieve flow runs for.
          required: true
        - name: api-version
          in: query
          type: string
          description: The API version to use for this request.
          required: true
    authentication:
      type: bearer
      token: '{{env.POWER_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: power-platform-flow-runs-rest
    port: 8080
    description: REST adapter for Microsoft Power Platform REST API — Flow Runs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/powerautomate/environments/{environmentid}/flowruns
      name: powerautomate-environments-environmentid-flowruns
      description: REST surface for powerautomate-environments-environmentId-flowRuns.
      operations:
      - method: GET
        name: listflowruns
        description: List Flow Runs
        call: power-platform-flow-runs.listflowruns
        with:
          environmentId: rest.environmentId
          workflowId: rest.workflowId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: power-platform-flow-runs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power Platform REST API — Flow Runs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-flow-runs
      description: List Flow Runs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-platform-flow-runs.listflowruns
      with:
        environmentId: tools.environmentId
        workflowId: tools.workflowId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.