{
  "opencollection": "1.0.0",
  "info": {
    "name": "Azure DevOps Pipelines API",
    "version": "7.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pipelines",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure DevOps List pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              },
              {
                "name": "orderBy",
                "value": "",
                "type": "query",
                "description": "Sort order for pipelines (e.g., name, createdDate)"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of pipelines to return"
              },
              {
                "name": "continuationToken",
                "value": "",
                "type": "query",
                "description": "Continuation token for paginated results"
              }
            ]
          },
          "docs": "Returns a list of pipelines in the project. Pipelines are YAML-based CI/CD definitions stored in source repositories. Supports ordering and pagination.\n"
        },
        {
          "info": {
            "name": "Azure DevOps Create a pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new pipeline definition in the project. The pipeline references a YAML file in a source repository. After creation, the pipeline can be run manually or triggered by code changes.\n"
        },
        {
          "info": {
            "name": "Azure DevOps Get a pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines/:pipelineId",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline"
              },
              {
                "name": "pipelineVersion",
                "value": "",
                "type": "query",
                "description": "Specific version of the pipeline to retrieve"
              }
            ]
          },
          "docs": "Returns detailed information about a specific pipeline, including its configuration, repository source, and revision. The pipelineId is the numeric identifier assigned when the pipeline was created.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Pipeline Runs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure DevOps List pipeline runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines/:pipelineId/runs",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of runs to return"
              },
              {
                "name": "continuationToken",
                "value": "",
                "type": "query",
                "description": "Continuation token for paginated results"
              }
            ]
          },
          "docs": "Returns a list of runs (executions) for a specific pipeline. Includes the run state, result, timing, and template parameters used. Supports pagination through the continuationToken.\n"
        },
        {
          "info": {
            "name": "Azure DevOps Run a pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines/:pipelineId/runs",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline"
              },
              {
                "name": "pipelineVersion",
                "value": "",
                "type": "query",
                "description": "Specific version of the pipeline to run"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Triggers a new run of a pipeline. You can override template parameters, variables, the repository branch, and specify which stages to skip or include. The run is queued and executed when an agent becomes available.\n"
        },
        {
          "info": {
            "name": "Azure DevOps Get a pipeline run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines/:pipelineId/runs/:runId",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline"
              },
              {
                "name": "runId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline run"
              }
            ]
          },
          "docs": "Returns detailed information about a specific pipeline run, including its state, result, template parameters, variables used, and timing. Poll this endpoint to monitor run progress.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Pipeline Artifacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Azure DevOps List run artifacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dev.azure.com/{organization}/{project}/_apis/pipelines/:pipelineId/runs/:runId/artifacts",
            "params": [
              {
                "name": "api-version",
                "value": "",
                "type": "query",
                "description": "Azure DevOps REST API version. Use 7.1 for the latest stable version."
              },
              {
                "name": "pipelineId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline"
              },
              {
                "name": "runId",
                "value": "",
                "type": "path",
                "description": "Numeric ID of the pipeline run"
              },
              {
                "name": "artifactName",
                "value": "",
                "type": "query",
                "description": "Filter by a specific artifact name"
              },
              {
                "name": "$expand",
                "value": "",
                "type": "query",
                "description": "Expand additional artifact details"
              }
            ]
          },
          "docs": "Returns a list of artifacts published by a specific pipeline run. Artifacts can include compiled binaries, test results, container images, or any other files published using the PublishBuildArtifacts or PublishPipelineArtifact task.\n"
        }
      ]
    }
  ],
  "bundled": true
}