Skip to content
For LLMsView as Markdown·

Azure DevOps

Manage projects, repos, pipelines, builds, and work items in Azure DevOps.

DetailValue
CategoryDevOps
Base URLhttps://dev.azure.com/{organization}
AuthenticationAPI Key
Endpoints8
Connector keyazure-devops

Using Azure DevOps in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Azure DevOps from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /_apis/projectsList projects
POST /_apis/projectsCreate a project
GET /{project}/_apis/git/repositoriesList repositories
GET /{project}/_apis/pipelinesList pipelines
POST /{project}/_apis/pipelines/{pipelineId}/runsRun a pipeline
GET /{project}/_apis/build/buildsList builds
GET /{project}/_apis/wit/workitems/{id}Get a work item
GET /{project}/_apis/git/repositories/{repositoryId}/pullrequestsList pull requests

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /_apis/projects

List projects

DetailValue
Operation IDdevops.listProjects
MethodGET
Path/_apis/projects

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.listProjects.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

POST /_apis/projects

Create a project

DetailValue
Operation IDdevops.createProject
MethodPOST
Path/_apis/projects

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.createProject.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

GET /{project}/_apis/git/repositories

List repositories

DetailValue
Operation IDdevops.listRepositories
MethodGET
Path/{project}/_apis/git/repositories

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.listRepositories.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

GET /{project}/_apis/pipelines

List pipelines

DetailValue
Operation IDdevops.listPipelines
MethodGET
Path/{project}/_apis/pipelines

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.listPipelines.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

POST /{project}/_apis/pipelines/{pipelineId}/runs

Run a pipeline

DetailValue
Operation IDdevops.runPipeline
MethodPOST
Path/{project}/_apis/pipelines/{pipelineId}/runs

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.runPipeline.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

GET /{project}/_apis/build/builds

List builds

DetailValue
Operation IDdevops.listBuilds
MethodGET
Path/{project}/_apis/build/builds

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.listBuilds.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

GET /{project}/_apis/wit/workitems/{id}

Get a work item

DetailValue
Operation IDdevops.getWorkItem
MethodGET
Path/{project}/_apis/wit/workitems/{id}

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.getWorkItem.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.

GET /{project}/_apis/git/repositories/{repositoryId}/pullrequests

List pull requests

DetailValue
Operation IDdevops.listPullRequests
MethodGET
Path/{project}/_apis/git/repositories/{repositoryId}/pullrequests

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Azure DevOps connection from the Connection dropdown.
  3. In the Operation dropdown, select devops.listPullRequests.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Azure DevOps API reference.