Buildkite · Arazzo Workflow

Buildkite Provision Pipeline And First Build

Version 1.0.0

Create a pipeline in an organization, then trigger its first build.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CI/CDContinuous IntegrationContinuous DeliveryDevOpsPipelinesHybrid CIBuild AutomationTest EnginePackage RegistriesAgentsGraphQLRESTMCPWebhookArazzoWorkflows

Provider

buildkite-com

Workflows

provision-pipeline-and-first-build
Create a pipeline and kick off its first build.
Creates a pipeline from a repository and step configuration, confirms the created pipeline, and triggers an initial build on the supplied branch.
3 steps inputs: branch, commit, configuration, name, org, repository outputs: buildNumber, pipelineSlug, pipelineWebUrl
1
createPipeline
Create a new pipeline in the organization with the supplied repository and step configuration.
2
confirmPipeline
Read the created pipeline back to confirm it exists and capture its default branch.
3
triggerFirstBuild
Trigger the first build on the newly created pipeline for the supplied branch and commit.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Buildkite Provision Pipeline And First Build
  summary: Create a pipeline in an organization, then trigger its first build.
  description: >-
    A bootstrap flow for onboarding a new repository onto Buildkite Pipelines.
    The workflow creates a pipeline in the organization with a repository and an
    inline step configuration, reads the created pipeline back to confirm its
    slug, and then triggers an initial build on the pipeline's default branch.
    Every step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: buildsApi
  url: ../openapi/buildkite-com-builds-api-openapi.yml
  type: openapi
- name: pipelinesApi
  url: ../openapi/buildkite-com-pipelines-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-pipeline-and-first-build
  summary: Create a pipeline and kick off its first build.
  description: >-
    Creates a pipeline from a repository and step configuration, confirms the
    created pipeline, and triggers an initial build on the supplied branch.
  inputs:
    type: object
    required:
    - org
    - name
    - repository
    - configuration
    - branch
    properties:
      org:
        type: string
        description: Organization slug to create the pipeline in.
      name:
        type: string
        description: Human-readable pipeline name.
      repository:
        type: string
        description: Git repository URL the pipeline builds.
      configuration:
        type: string
        description: YAML pipeline step configuration as a string.
      branch:
        type: string
        description: Branch to trigger the first build on.
      commit:
        type: string
        description: Commit SHA to build; defaults to HEAD when omitted.
  steps:
  - stepId: createPipeline
    description: >-
      Create a new pipeline in the organization with the supplied repository and
      step configuration.
    operationId: createPipeline
    parameters:
    - name: org
      in: path
      value: $inputs.org
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        repository: $inputs.repository
        configuration: $inputs.configuration
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      pipelineSlug: $response.body#/slug
      pipelineId: $response.body#/id
      webUrl: $response.body#/web_url
  - stepId: confirmPipeline
    description: >-
      Read the created pipeline back to confirm it exists and capture its
      default branch.
    operationId: getPipeline
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: pipeline
      in: path
      value: $steps.createPipeline.outputs.pipelineSlug
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      defaultBranch: $response.body#/default_branch
      slug: $response.body#/slug
  - stepId: triggerFirstBuild
    description: >-
      Trigger the first build on the newly created pipeline for the supplied
      branch and commit.
    operationId: createBuild
    parameters:
    - name: org
      in: path
      value: $inputs.org
    - name: pipeline
      in: path
      value: $steps.confirmPipeline.outputs.slug
    requestBody:
      contentType: application/json
      payload:
        commit: $inputs.commit
        branch: $inputs.branch
        message: First build
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      buildNumber: $response.body#/number
      buildState: $response.body#/state
      buildWebUrl: $response.body#/web_url
  outputs:
    pipelineSlug: $steps.createPipeline.outputs.pipelineSlug
    pipelineWebUrl: $steps.createPipeline.outputs.webUrl
    buildNumber: $steps.triggerFirstBuild.outputs.buildNumber

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/buildkite-com-provision-pipeline-and-first-build-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.