Azure Pipelines · Schema

Build

Data representation of a build execution in Azure DevOps including its status, result, timing, source information, and associated definition.

AutomationBuildsCI/CDDeploymentDevOpsPipelines

Properties

Name Type Description
id integer Unique numeric identifier of the build
buildNumber string Build number or name assigned to this build
buildNumberRevision integer Build number revision counter
status string Current status of the build
result stringnull Final result of the build when completed
queueTime string Timestamp when the build was queued
startTime string Timestamp when the build started executing
finishTime stringnull Timestamp when the build completed
definition object
project object
sourceBranch string Source branch that was built
sourceVersion string Source commit SHA that was built
reason string Reason the build was created
priority string Build queue priority
requestedBy object
requestedFor object
lastChangedBy object
lastChangedDate string Timestamp of the last change to this build
repository object
parameters string JSON string of build parameters
tags array Tags associated with this build
templateParameters object Template expression parameters
deleted boolean Whether the build has been deleted
retainedByRelease boolean Whether the build is retained by a release
url string REST API URL of the build
uri string The URI of the build
logs object Reference to build logs
_links object HAL links for related resources
View JSON Schema on GitHub

JSON Schema

microsoft-azure-pipelines-build-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-pipelines/json-schema/microsoft-azure-pipelines-build-schema.json",
  "title": "Build",
  "description": "Data representation of a build execution in Azure DevOps including its status, result, timing, source information, and associated definition.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-pipelines-builds-api-openapi.yml#/components/schemas/Build",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique numeric identifier of the build"
    },
    "buildNumber": {
      "type": "string",
      "description": "Build number or name assigned to this build"
    },
    "buildNumberRevision": {
      "type": "integer",
      "description": "Build number revision counter"
    },
    "status": {
      "type": "string",
      "description": "Current status of the build",
      "enum": [
        "none",
        "inProgress",
        "completed",
        "cancelling",
        "postponed",
        "notStarted",
        "all"
      ]
    },
    "result": {
      "type": [
        "string",
        "null"
      ],
      "description": "Final result of the build when completed",
      "enum": [
        "none",
        "succeeded",
        "partiallySucceeded",
        "failed",
        "canceled"
      ]
    },
    "queueTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the build was queued"
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the build started executing"
    },
    "finishTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Timestamp when the build completed"
    },
    "definition": {
      "$ref": "#/$defs/BuildDefinitionReference"
    },
    "project": {
      "$ref": "#/$defs/TeamProjectReference"
    },
    "sourceBranch": {
      "type": "string",
      "description": "Source branch that was built"
    },
    "sourceVersion": {
      "type": "string",
      "description": "Source commit SHA that was built"
    },
    "reason": {
      "type": "string",
      "description": "Reason the build was created",
      "enum": [
        "none",
        "manual",
        "individualCI",
        "batchedCI",
        "schedule",
        "scheduleForced",
        "userCreated",
        "validateShelveset",
        "checkInShelveset",
        "pullRequest",
        "buildCompletion",
        "resourceTrigger",
        "triggered",
        "all"
      ]
    },
    "priority": {
      "type": "string",
      "description": "Build queue priority",
      "enum": [
        "low",
        "belowNormal",
        "normal",
        "aboveNormal",
        "high"
      ]
    },
    "requestedBy": {
      "$ref": "#/$defs/IdentityRef"
    },
    "requestedFor": {
      "$ref": "#/$defs/IdentityRef"
    },
    "lastChangedBy": {
      "$ref": "#/$defs/IdentityRef"
    },
    "lastChangedDate": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the last change to this build"
    },
    "repository": {
      "$ref": "#/$defs/BuildRepository"
    },
    "parameters": {
      "type": "string",
      "description": "JSON string of build parameters"
    },
    "tags": {
      "type": "array",
      "description": "Tags associated with this build",
      "items": {
        "type": "string"
      }
    },
    "templateParameters": {
      "type": "object",
      "description": "Template expression parameters",
      "additionalProperties": {
        "type": "string"
      }
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the build has been deleted"
    },
    "retainedByRelease": {
      "type": "boolean",
      "description": "Whether the build is retained by a release"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "REST API URL of the build"
    },
    "uri": {
      "type": "string",
      "description": "The URI of the build"
    },
    "logs": {
      "type": "object",
      "description": "Reference to build logs",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Log ID"
        },
        "type": {
          "type": "string",
          "description": "Log location type"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to the log resource"
        }
      }
    },
    "_links": {
      "type": "object",
      "description": "HAL links for related resources",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  },
  "$defs": {
    "BuildDefinitionReference": {
      "type": "object",
      "description": "Reference to a build definition containing its identification, folder path, queue status, and type.",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Build definition ID"
        },
        "name": {
          "type": "string",
          "description": "Build definition name"
        },
        "path": {
          "type": "string",
          "description": "Folder path of the definition"
        },
        "revision": {
          "type": "integer",
          "description": "Current revision number"
        },
        "type": {
          "type": "string",
          "description": "Definition type",
          "enum": [
            "xaml",
            "build"
          ]
        },
        "queueStatus": {
          "type": "string",
          "description": "Whether builds can be queued against this definition",
          "enum": [
            "enabled",
            "paused",
            "disabled"
          ]
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date the definition was created"
        },
        "project": {
          "$ref": "#/$defs/TeamProjectReference"
        },
        "uri": {
          "type": "string",
          "description": "Definition URI"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "REST API URL for this definition"
        }
      }
    },
    "BuildRepository": {
      "type": "object",
      "description": "Repository used by a build definition",
      "properties": {
        "id": {
          "type": "string",
          "description": "Repository ID"
        },
        "name": {
          "type": "string",
          "description": "Repository name"
        },
        "type": {
          "type": "string",
          "description": "Repository type"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Repository URL"
        },
        "defaultBranch": {
          "type": "string",
          "description": "Default branch name"
        },
        "clean": {
          "type": "string",
          "description": "Clean option for the workspace"
        },
        "checkoutSubmodules": {
          "type": "boolean",
          "description": "Whether to checkout submodules"
        }
      }
    },
    "IdentityRef": {
      "type": "object",
      "description": "Reference to an Azure DevOps identity",
      "properties": {
        "id": {
          "type": "string",
          "description": "Identity GUID"
        },
        "displayName": {
          "type": "string",
          "description": "Display name of the identity"
        },
        "uniqueName": {
          "type": "string",
          "description": "Unique name (email) of the identity"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to the identity resource"
        },
        "imageUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL to the identity avatar image"
        }
      }
    },
    "TeamProjectReference": {
      "type": "object",
      "description": "Shallow reference to a team project",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Project GUID identifier"
        },
        "name": {
          "type": "string",
          "description": "Project name"
        },
        "description": {
          "type": "string",
          "description": "Project description"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "REST API URL for the project"
        },
        "state": {
          "type": "string",
          "description": "Project state",
          "enum": [
            "deleting",
            "new",
            "wellFormed",
            "createPending",
            "all",
            "unchanged",
            "deleted"
          ]
        },
        "visibility": {
          "type": "string",
          "description": "Project visibility",
          "enum": [
            "private",
            "public"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-pipelines-build"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.