Buildkite Access Token API

The Access Token API from Buildkite — 1 operation(s) for access token.

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /access-token Inspect the API access token in use · Get The Current Access Token #
Ask an LLM
“Which scopes does the Buildkite API token I'm using right now have?”
“Can I check what my current access token is allowed to do before calling other endpoints?”
Tell an agent
Show me the details and scopes of the access token I'm calling with.
Check which permissions my current API token grants.
DELETE /access-token Revoke the API access token in use · Revoke The Current Access Token #
Ask an LLM
“How do I revoke the access token I'm currently authenticating with?”
“Can a leaked API token kill itself through the API without logging into the dashboard?”
Tell an agent destructive · confirm first
Revoke the access token I'm using for this session.
Permanently invalidate my current API token so it can't be used again.

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-com:buildkite-com-access-token-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-com-access-token-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Buildkite REST Access Token API
  version: v2
  description: 'Programmatic control of Buildkite Pipelines covering organizations, pipelines,

    builds, jobs, artifacts, annotations, agents, clusters, queues, and access tokens.

    Authenticated with a Bearer API access token.'
  contact:
    name: Buildkite Support
    url: https://buildkite.com/support
  license:
    name: Buildkite Terms of Service
    url: https://buildkite.com/legal/terms-of-service
servers:
- url: https://api.buildkite.com/v2
  description: Buildkite REST API v2
security:
- bearerAuth: []
tags:
- name: Access Token
paths:
  /access-token:
    get:
      tags:
      - Access Token
      summary: Get The Current Access Token
      operationId: getAccessToken
      responses:
        '200':
          description: Access token metadata including scopes
    delete:
      tags:
      - Access Token
      summary: Revoke The Current Access Token
      operationId: revokeAccessToken
      responses:
        '204':
          description: Revoked
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API access token