Azure DevOps · Capability

Azure DevOps Pipelines API — Pipeline Runs

Azure DevOps Pipelines API — Pipeline Runs. 3 operations. Lead operation: Azure DevOps List pipeline runs. Self-contained Naftiko capability covering one Microsoft Azure Devops business surface.

Run with Naftiko Microsoft Azure DevopsPipeline Runs

What You Can Do

GET
Runslist — Azure DevOps List pipeline runs
/v1/pipelines/{pipelineid}/runs
POST
Runsrun — Azure DevOps Run a pipeline
/v1/pipelines/{pipelineid}/runs
GET
Runsget — Azure DevOps Get a pipeline run
/v1/pipelines/{pipelineid}/runs/{runid}

MCP Tools

azure-devops-list-pipeline-runs

Azure DevOps List pipeline runs

read-only idempotent
azure-devops-run-pipeline

Azure DevOps Run a pipeline

azure-devops-get-pipeline-run

Azure DevOps Get a pipeline run

read-only idempotent

Capability Spec

azure-devops-pipelines-pipeline-runs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure DevOps Pipelines API — Pipeline Runs
  description: 'Azure DevOps Pipelines API — Pipeline Runs. 3 operations. Lead operation: Azure DevOps List pipeline runs.
    Self-contained Naftiko capability covering one Microsoft Azure Devops business surface.'
  tags:
  - Microsoft Azure Devops
  - Pipeline Runs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_DEVOPS_API_KEY: MICROSOFT_AZURE_DEVOPS_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-devops-pipelines-pipeline-runs
    baseUri: https://dev.azure.com/{organization}/{project}/_apis
    description: Azure DevOps Pipelines API — Pipeline Runs business capability. Self-contained, no shared references.
    resources:
    - name: pipelines-pipelineId-runs
      path: /pipelines/{pipelineId}/runs
      operations:
      - name: runslist
        method: GET
        description: Azure DevOps List pipeline runs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $top
          in: query
          type: integer
          description: Maximum number of runs to return
        - name: continuationToken
          in: query
          type: string
          description: Continuation token for paginated results
      - name: runsrun
        method: POST
        description: Azure DevOps Run a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pipelineVersion
          in: query
          type: integer
          description: Specific version of the pipeline to run
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: pipelines-pipelineId-runs-runId
      path: /pipelines/{pipelineId}/runs/{runId}
      operations:
      - name: runsget
        method: GET
        description: Azure DevOps Get a pipeline run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: runId
          in: path
          type: integer
          description: Numeric ID of the pipeline run
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_DEVOPS_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-devops-pipelines-pipeline-runs-rest
    port: 8080
    description: REST adapter for Azure DevOps Pipelines API — Pipeline Runs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/pipelines/{pipelineid}/runs
      name: pipelines-pipelineid-runs
      description: REST surface for pipelines-pipelineId-runs.
      operations:
      - method: GET
        name: runslist
        description: Azure DevOps List pipeline runs
        call: azure-devops-pipelines-pipeline-runs.runslist
        with:
          $top: rest.$top
          continuationToken: rest.continuationToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: runsrun
        description: Azure DevOps Run a pipeline
        call: azure-devops-pipelines-pipeline-runs.runsrun
        with:
          pipelineVersion: rest.pipelineVersion
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pipelines/{pipelineid}/runs/{runid}
      name: pipelines-pipelineid-runs-runid
      description: REST surface for pipelines-pipelineId-runs-runId.
      operations:
      - method: GET
        name: runsget
        description: Azure DevOps Get a pipeline run
        call: azure-devops-pipelines-pipeline-runs.runsget
        with:
          runId: rest.runId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-devops-pipelines-pipeline-runs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure DevOps Pipelines API — Pipeline Runs. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: azure-devops-list-pipeline-runs
      description: Azure DevOps List pipeline runs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-devops-pipelines-pipeline-runs.runslist
      with:
        $top: tools.$top
        continuationToken: tools.continuationToken
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-devops-run-pipeline
      description: Azure DevOps Run a pipeline
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-devops-pipelines-pipeline-runs.runsrun
      with:
        pipelineVersion: tools.pipelineVersion
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-devops-get-pipeline-run
      description: Azure DevOps Get a pipeline run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-devops-pipelines-pipeline-runs.runsget
      with:
        runId: tools.runId
      outputParameters:
      - type: object
        mapping: $.