BugBug Variables API

The Variables API from BugBug — 2 operation(s) for variables.

Operations 4

GET /v2/variables/ List variables #
POST /v2/variables/ Create variable #
GET /v2/variables/{key}/ Retrieve variable #
PATCH /v2/variables/{key}/ Partially update variable #

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/bugbug-io:bugbug-io-variables-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

bugbug-io-variables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BugBug.io Public Variables API
  version: v2
  x-logo:
    url: /static/images/logo.svg
    altText: BugBug.io
  description: 'BugBug.io is a modern browser-based app for software testers, developers, or product managers in need of quick & reliable test automation. You can run tests from your CI/CD pipeline or build system. You can run tests and suites in the cloud via BugBug Command Line Interface.


    Please use Authorize button to Try it out.'
  contact:
    email: support@bugbug.io
tags:
- name: Variables
paths:
  /v2/variables/:
    get:
      operationId: v2_variables_list
      description: Returns available built-in and custom variables.
      summary: List variables
      tags:
      - Variables
      security:
      - tokenAuth: []
      - Bearer: []
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/APIVariable'
          description: ''
        '401':
          description: Authentication credentials were missing or invalid.
    post:
      operationId: v2_variables_create
      description: Create a custom variable in the default run profile.
      summary: Create variable
      tags:
      - Variables
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/APICreateVariable'
          application/json:
            schema:
              $ref: '#/components/schemas/APICreateVariable'
        required: true
      security:
      - tokenAuth: []
      - Bearer: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APICreatedVariable'
          description: ''
        '401':
          description: Authentication credentials were missing or invalid.
        '400':
          description: Request body failed validation.
  /v2/variables/{key}/:
    get:
      operationId: v2_variables_retrieve
      description: Returns a custom variable from the default run profile by key.
      summary: Retrieve variable
      parameters:
      - in: path
        name: key
        schema:
          type: string
        required: true
      tags:
      - Variables
      security:
      - tokenAuth: []
      - Bearer: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIVariable'
          description: ''
        '401':
          description: Authentication credentials were missing or invalid.
        '404':
          description: Resource not found.
    patch:
      operationId: v2_variables_partial_update
      description: Partially update a custom variable in the default run profile by key.
      summary: Partially update variable
      parameters:
      - in: path
        name: key
        schema:
          type: string
        required: true
      tags:
      - Variables
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedAPIUpdateVariable'
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedAPIUpdateVariable'
      security:
      - tokenAuth: []
      - Bearer: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIVariable'
          description: ''
        '401':
          description: Authentication credentials were missing or invalid.
        '400':
          description: Request body failed validation.
        '404':
          description: Resource not found.
components:
  schemas:
    PatchedAPIUpdateVariable:
      type: object
      properties:
        value:
          type:
          - string
          - 'null'
        type:
          enum:
          - value
          - evaluate
          type: string
          description: '* `value` - Value

            * `evaluate` - Evaluate'
          x-spec-enum-id: 97a5b79e1a9aebeb
        isSecret:
          type: boolean
        description:
          type:
          - string
          - 'null'
          maxLength: 256
    APIVariable:
      type: object
      properties:
        key:
          type: string
          readOnly: true
        description:
          type:
          - string
          - 'null'
          readOnly: true
        isBuiltIn:
          type: boolean
          readOnly: true
        type:
          enum:
          - value
          - evaluate
          type: string
          description: '* `value` - Value

            * `evaluate` - Evaluate'
          x-spec-enum-id: 97a5b79e1a9aebeb
          readOnly: true
      required:
      - description
      - isBuiltIn
      - key
      - type
    APICreateVariable:
      type: object
      properties:
        key:
          type: string
          maxLength: 50
        value:
          type:
          - string
          - 'null'
        type:
          enum:
          - value
          - evaluate
          type: string
          description: '* `value` - Value

            * `evaluate` - Evaluate'
          x-spec-enum-id: 97a5b79e1a9aebeb
        isSecret:
          type: boolean
          default: false
        description:
          type:
          - string
          - 'null'
          maxLength: 256
      required:
      - key
      - type
    APICreatedVariable:
      type: object
      properties:
        key:
          type: string
          readOnly: true
        description:
          type:
          - string
          - 'null'
          readOnly: true
        isBuiltIn:
          type: boolean
          readOnly: true
        type:
          enum:
          - value
          - evaluate
          type: string
          description: '* `value` - Value

            * `evaluate` - Evaluate'
          x-spec-enum-id: 97a5b79e1a9aebeb
          readOnly: true
        webappUrl:
          type: string
          readOnly: true
      required:
      - description
      - isBuiltIn
      - key
      - type
      - webappUrl
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"