Azure DevOps · Schema

Build

An Azure DevOps build instance

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id integer Unique numeric identifier of the build
buildNumber string The build number assigned at queue time
buildNumberRevision integer Revision of the build number if duplicates exist
status string Current status of the build
result string Final result of a completed build
queueTime string Date and time the build was queued
startTime string Date and time the build started executing
finishTime string Date and time the build finished
url string URL to access this build via the REST API
definition object
buildNumberRevisions integer
project object
sourceBranch string Branch that triggered the build (e.g., refs/heads/main)
sourceVersion string Commit ID or changeset number used for the build
requestedBy object
requestedFor object
reason string Reason the build was triggered
priority string Build queue priority
repository object
logs object Reference to the build logs container
retainedByRelease boolean Whether this build is retained by a release
triggeredByBuild object The build that triggered this build (for completion triggers)
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-build-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Build",
  "title": "Build",
  "type": "object",
  "description": "An Azure DevOps build instance",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique numeric identifier of the build",
      "example": 1234
    },
    "buildNumber": {
      "type": "string",
      "description": "The build number assigned at queue time",
      "example": "20240315.1"
    },
    "buildNumberRevision": {
      "type": "integer",
      "description": "Revision of the build number if duplicates exist"
    },
    "status": {
      "type": "string",
      "description": "Current status of the build",
      "enum": [
        "none",
        "inProgress",
        "completed",
        "cancelling",
        "postponed",
        "notStarted",
        "all"
      ],
      "example": "completed"
    },
    "result": {
      "type": "string",
      "description": "Final result of a completed build",
      "enum": [
        "none",
        "succeeded",
        "partiallySucceeded",
        "failed",
        "canceled"
      ],
      "example": "succeeded"
    },
    "queueTime": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the build was queued"
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the build started executing"
    },
    "finishTime": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time the build finished"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL to access this build via the REST API"
    },
    "definition": {
      "$ref": "#/components/schemas/BuildDefinitionReference"
    },
    "buildNumberRevisions": {
      "type": "integer"
    },
    "project": {
      "$ref": "#/components/schemas/TeamProjectReference"
    },
    "sourceBranch": {
      "type": "string",
      "description": "Branch that triggered the build (e.g., refs/heads/main)",
      "example": "refs/heads/main"
    },
    "sourceVersion": {
      "type": "string",
      "description": "Commit ID or changeset number used for the build",
      "example": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"
    },
    "requestedBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "requestedFor": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "reason": {
      "type": "string",
      "description": "Reason the build was triggered",
      "enum": [
        "none",
        "manual",
        "individualCI",
        "batchedCI",
        "schedule",
        "userCreated",
        "validateShelveset",
        "checkInShelveset",
        "pullRequest",
        "buildCompletion",
        "resourceTrigger",
        "triggered",
        "all"
      ]
    },
    "priority": {
      "type": "string",
      "description": "Build queue priority",
      "enum": [
        "low",
        "belowNormal",
        "normal",
        "aboveNormal",
        "high"
      ]
    },
    "repository": {
      "$ref": "#/components/schemas/BuildRepository"
    },
    "logs": {
      "type": "object",
      "description": "Reference to the build logs container",
      "properties": {
        "id": {
          "type": "integer"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "retainedByRelease": {
      "type": "boolean",
      "description": "Whether this build is retained by a release"
    },
    "triggeredByBuild": {
      "type": "object",
      "nullable": true,
      "description": "The build that triggered this build (for completion triggers)",
      "properties": {
        "id": {
          "type": "integer"
        },
        "buildNumber": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "definition": {
          "$ref": "#/components/schemas/BuildDefinitionReference"
        },
        "project": {
          "$ref": "#/components/schemas/TeamProjectReference"
        }
      }
    }
  }
}

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-devops-build"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.