Buildkite Artifacts API

The Artifacts API from Buildkite — 4 operation(s) for artifacts.

Operations 5

GET /organizations/{org}/pipelines/{slug}/builds/{number}/artifacts List build artifacts #
GET /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts List job artifacts #
GET /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts/{id} Get artifact #
DELETE /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts/{id} Delete artifact #
GET /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts/{id}/download Download artifact #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/buildkite-artifacts-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

buildkite-artifacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Buildkite REST AccessToken Artifacts API
  description: 'Best-effort OpenAPI 3.1 description of the Buildkite REST API for organizations, pipelines,

    builds, jobs, agents, artifacts, annotations, clusters, queues, agent tokens,

    pipeline templates, rules, teams, and access tokens.


    Authentication is via a Bearer token issued from the Buildkite UI.

    '
  version: '2.0'
  contact:
    name: Buildkite
    url: https://buildkite.com/docs/apis/rest-api
servers:
- url: https://api.buildkite.com/v2
  description: Buildkite REST API v2
security:
- bearerAuth: []
tags:
- name: Artifacts
paths:
  /organizations/{org}/pipelines/{slug}/builds/{number}/artifacts:
    parameters:
    - $ref: '#/components/parameters/Org'
    - $ref: '#/components/parameters/PipelineSlug'
    - $ref: '#/components/parameters/BuildNumber'
    get:
      tags:
      - Artifacts
      summary: List build artifacts
      operationId: listBuildArtifacts
      responses:
        '200':
          description: Artifacts
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Artifact'
  /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts:
    parameters:
    - $ref: '#/components/parameters/Org'
    - $ref: '#/components/parameters/PipelineSlug'
    - $ref: '#/components/parameters/BuildNumber'
    - $ref: '#/components/parameters/JobId'
    get:
      tags:
      - Artifacts
      summary: List job artifacts
      operationId: listJobArtifacts
      responses:
        '200':
          description: Artifacts
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Artifact'
  /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts/{id}:
    parameters:
    - $ref: '#/components/parameters/Org'
    - $ref: '#/components/parameters/PipelineSlug'
    - $ref: '#/components/parameters/BuildNumber'
    - $ref: '#/components/parameters/JobId'
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Artifacts
      summary: Get artifact
      operationId: getArtifact
      responses:
        '200':
          description: Artifact
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Artifact'
    delete:
      tags:
      - Artifacts
      summary: Delete artifact
      operationId: deleteArtifact
      responses:
        '204':
          description: Deleted
  /organizations/{org}/pipelines/{slug}/builds/{number}/jobs/{jobId}/artifacts/{id}/download:
    parameters:
    - $ref: '#/components/parameters/Org'
    - $ref: '#/components/parameters/PipelineSlug'
    - $ref: '#/components/parameters/BuildNumber'
    - $ref: '#/components/parameters/JobId'
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Artifacts
      summary: Download artifact
      operationId: downloadArtifact
      responses:
        '302':
          description: Redirect to artifact download
components:
  parameters:
    BuildNumber:
      name: number
      in: path
      required: true
      description: Build number.
      schema:
        type: integer
    JobId:
      name: jobId
      in: path
      required: true
      description: Job ID.
      schema:
        type: string
    Org:
      name: org
      in: path
      required: true
      description: Organization slug.
      schema:
        type: string
    PipelineSlug:
      name: slug
      in: path
      required: true
      description: Pipeline slug.
      schema:
        type: string
  schemas:
    Artifact:
      type: object
      properties:
        id:
          type: string
        job_id:
          type: string
        url:
          type: string
        download_url:
          type: string
        state:
          type: string
        path:
          type: string
        dirname:
          type: string
        filename:
          type: string
        mime_type:
          type: string
        file_size:
          type: integer
        sha1sum:
          type: string
        sha256sum:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token issued from your Buildkite Personal Access Tokens page.