Bitbucket Pipelines · Capability

Bitbucket API — Pipelines

Bitbucket API — Pipelines. 68 operations. Lead operation: List variables for an environment. Self-contained Naftiko capability covering one Bitbucket Pipelines business surface.

Run with Naftiko Bitbucket PipelinesPipelines

What You Can Do

GET
Getdeploymentvariables — List variables for an environment
/v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables
POST
Createdeploymentvariable — Create a variable for an environment
/v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables
PUT
Updatedeploymentvariable — Update a variable for an environment
/v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables/{variable-uuid}
DELETE
Deletedeploymentvariable — Delete a variable for an environment
/v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables/{variable-uuid}
GET
Getpipelinesforrepository — List pipelines
/v1/repositories/{workspace}/{repo-slug}/pipelines
POST
Createpipelineforrepository — Run a pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines
GET
Getrepositorypipelinecaches — List caches
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches
DELETE
Deleterepositorypipelinecaches — Delete caches
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches
DELETE
Deleterepositorypipelinecache — Delete a cache
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}
GET
Getrepositorypipelinecachecontenturi — Get cache content URI
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}/content-uri
GET
Getrepositoryrunners — Get repository runners
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/runners
POST
Createrepositoryrunner — Create repository runner
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/runners
GET
Getrepositoryrunner — Get repository runner
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/runners/{runner-uuid}
PUT
Updaterepositoryrunner — Update repository runner
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/runners/{runner-uuid}
DELETE
Deleterepositoryrunner — Delete repository runner
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/runners/{runner-uuid}
GET
Getpipelineforrepository — Get a pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}
GET
Getpipelinestepsforrepository — List steps for a pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps
GET
Getpipelinestepforrepository — Get a step of a pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}
GET
Getpipelinesteplogforrepository — Get log file for a step
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/log
GET
Getpipelinecontainerlog — Get the logs for the build container or a service container for a given step of a pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/logs/{log-uuid}
GET
Getpipelinetestreports — Get a summary of test reports for a given step of a pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports
GET
Getpipelinetestreporttestcases — Get test cases for a given step of a pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases
GET
Getpipelinetestreporttestcasereasons — Get test case reasons (output) for a given test case in a step of a pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases/{test-case-uuid}/test-case-reasons
POST
Stoppipeline — Stop a pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/stoppipeline
GET
Getrepositorypipelineconfig — Get configuration
/v1/repositories/{workspace}/{repo-slug}/pipelines-config
PUT
Updaterepositorypipelineconfig — Update configuration
/v1/repositories/{workspace}/{repo-slug}/pipelines-config
PUT
Updaterepositorybuildnumber — Update the next build number
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/build-number
POST
Createrepositorypipelineschedule — Create a schedule
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules
GET
Getrepositorypipelineschedules — List schedules
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules
GET
Getrepositorypipelineschedule — Get a schedule
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid}
PUT
Updaterepositorypipelineschedule — Update a schedule
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid}
DELETE
Deleterepositorypipelineschedule — Delete a schedule
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid}
GET
Getrepositorypipelinescheduleexecutions — List executions of a schedule
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid}/executions
GET
Getrepositorypipelinesshkeypair — Get SSH key pair
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/key-pair
PUT
Updaterepositorypipelinekeypair — Update SSH key pair
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/key-pair
DELETE
Deleterepositorypipelinekeypair — Delete SSH key pair
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/key-pair
GET
Getrepositorypipelineknownhosts — List known hosts
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts
POST
Createrepositorypipelineknownhost — Create a known host
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts
GET
Getrepositorypipelineknownhost — Get a known host
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts/{known-host-uuid}
PUT
Updaterepositorypipelineknownhost — Update a known host
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts/{known-host-uuid}
DELETE
Deleterepositorypipelineknownhost — Delete a known host
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts/{known-host-uuid}
GET
Getrepositorypipelinevariables — List variables for a repository
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables
POST
Createrepositorypipelinevariable — Create a variable for a repository
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables
GET
Getrepositorypipelinevariable — Get a variable for a repository
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables/{variable-uuid}
PUT
Updaterepositorypipelinevariable — Update a variable for a repository
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables/{variable-uuid}
DELETE
Deleterepositorypipelinevariable — Delete a variable for a repository
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables/{variable-uuid}
GET
Getpipelinevariablesforteam — List variables for an account
/v1/teams/{username}/pipelines-config/variables
POST
Createpipelinevariableforteam — Create a variable for a user
/v1/teams/{username}/pipelines-config/variables
GET
Getpipelinevariableforteam — Get a variable for a team
/v1/teams/{username}/pipelines-config/variables/{variable-uuid}
PUT
Updatepipelinevariableforteam — Update a variable for a team
/v1/teams/{username}/pipelines-config/variables/{variable-uuid}
DELETE
Deletepipelinevariableforteam — Delete a variable for a team
/v1/teams/{username}/pipelines-config/variables/{variable-uuid}
GET
Getpipelinevariablesforuser — List variables for a user
/v1/users/{selected-user}/pipelines-config/variables
POST
Createpipelinevariableforuser — Create a variable for a user
/v1/users/{selected-user}/pipelines-config/variables
GET
Getpipelinevariableforuser — Get a variable for a user
/v1/users/{selected-user}/pipelines-config/variables/{variable-uuid}
PUT
Updatepipelinevariableforuser — Update a variable for a user
/v1/users/{selected-user}/pipelines-config/variables/{variable-uuid}
DELETE
Deletepipelinevariableforuser — Delete a variable for a user
/v1/users/{selected-user}/pipelines-config/variables/{variable-uuid}
GET
Getoidcconfiguration — Get OpenID configuration for OIDC in Pipelines
/v1/workspaces/{workspace}/pipelines-config/identity/oidc/well-known/openid-configuration
GET
Getoidckeys — Get keys for OIDC in Pipelines
/v1/workspaces/{workspace}/pipelines-config/identity/oidc/keys-json
GET
Getworkspacerunners — Get workspace runners
/v1/workspaces/{workspace}/pipelines-config/runners
POST
Createworkspacerunner — Create workspace runner
/v1/workspaces/{workspace}/pipelines-config/runners
GET
Getworkspacerunner — Get workspace runner
/v1/workspaces/{workspace}/pipelines-config/runners/{runner-uuid}
PUT
Updateworkspacerunner — Update workspace runner
/v1/workspaces/{workspace}/pipelines-config/runners/{runner-uuid}
DELETE
Deleteworkspacerunner — Delete workspace runner
/v1/workspaces/{workspace}/pipelines-config/runners/{runner-uuid}
GET
Getpipelinevariablesforworkspace — List variables for a workspace
/v1/workspaces/{workspace}/pipelines-config/variables
POST
Createpipelinevariableforworkspace — Create a variable for a workspace
/v1/workspaces/{workspace}/pipelines-config/variables
GET
Getpipelinevariableforworkspace — Get variable for a workspace
/v1/workspaces/{workspace}/pipelines-config/variables/{variable-uuid}
PUT
Updatepipelinevariableforworkspace — Update variable for a workspace
/v1/workspaces/{workspace}/pipelines-config/variables/{variable-uuid}
DELETE
Deletepipelinevariableforworkspace — Delete a variable for a workspace
/v1/workspaces/{workspace}/pipelines-config/variables/{variable-uuid}

MCP Tools

list-variables-environment

List variables for an environment

read-only idempotent
create-variable-environment

Create a variable for an environment

update-variable-environment

Update a variable for an environment

idempotent
delete-variable-environment

Delete a variable for an environment

idempotent
list-pipelines

List pipelines

read-only idempotent
run-pipeline

Run a pipeline

list-caches

List caches

read-only idempotent
delete-caches

Delete caches

idempotent
delete-cache

Delete a cache

idempotent
get-cache-content-uri

Get cache content URI

read-only idempotent
get-repository-runners

Get repository runners

read-only idempotent
create-repository-runner

Create repository runner

get-repository-runner

Get repository runner

read-only idempotent
update-repository-runner

Update repository runner

idempotent
delete-repository-runner

Delete repository runner

idempotent
get-pipeline

Get a pipeline

read-only idempotent
list-steps-pipeline

List steps for a pipeline

read-only idempotent
get-step-pipeline

Get a step of a pipeline

read-only idempotent
get-log-file-step

Get log file for a step

read-only idempotent
get-logs-build-container-service

Get the logs for the build container or a service container for a given step of a pipeline.

read-only idempotent
get-summary-test-reports-given

Get a summary of test reports for a given step of a pipeline.

read-only idempotent
get-test-cases-given-step

Get test cases for a given step of a pipeline.

read-only idempotent
get-test-case-reasons-output

Get test case reasons (output) for a given test case in a step of a pipeline.

read-only idempotent
stop-pipeline

Stop a pipeline

get-configuration

Get configuration

read-only idempotent
update-configuration

Update configuration

idempotent
update-next-build-number

Update the next build number

idempotent
create-schedule

Create a schedule

list-schedules

List schedules

read-only idempotent
get-schedule

Get a schedule

read-only idempotent
update-schedule

Update a schedule

idempotent
delete-schedule

Delete a schedule

idempotent
list-executions-schedule

List executions of a schedule

read-only idempotent
get-ssh-key-pair

Get SSH key pair

read-only idempotent
update-ssh-key-pair

Update SSH key pair

idempotent
delete-ssh-key-pair

Delete SSH key pair

idempotent
list-known-hosts

List known hosts

read-only idempotent
create-known-host

Create a known host

get-known-host

Get a known host

read-only idempotent
update-known-host

Update a known host

idempotent
delete-known-host

Delete a known host

idempotent
list-variables-repository

List variables for a repository

read-only idempotent
create-variable-repository

Create a variable for a repository

get-variable-repository

Get a variable for a repository

read-only idempotent
update-variable-repository

Update a variable for a repository

idempotent
delete-variable-repository

Delete a variable for a repository

idempotent
list-variables-account

List variables for an account

read-only idempotent
create-variable-user

Create a variable for a user

get-variable-team

Get a variable for a team

read-only idempotent
update-variable-team

Update a variable for a team

idempotent
delete-variable-team

Delete a variable for a team

idempotent
list-variables-user

List variables for a user

read-only idempotent
create-variable-user-2

Create a variable for a user

get-variable-user

Get a variable for a user

read-only idempotent
update-variable-user

Update a variable for a user

idempotent
delete-variable-user

Delete a variable for a user

idempotent
get-openid-configuration-oidc-pipelines

Get OpenID configuration for OIDC in Pipelines

read-only idempotent
get-keys-oidc-pipelines

Get keys for OIDC in Pipelines

read-only idempotent
get-workspace-runners

Get workspace runners

read-only idempotent
create-workspace-runner

Create workspace runner

get-workspace-runner

Get workspace runner

read-only idempotent
update-workspace-runner

Update workspace runner

idempotent
delete-workspace-runner

Delete workspace runner

idempotent
list-variables-workspace

List variables for a workspace

read-only idempotent
create-variable-workspace

Create a variable for a workspace

get-variable-workspace

Get variable for a workspace

read-only idempotent
update-variable-workspace

Update variable for a workspace

idempotent
delete-variable-workspace

Delete a variable for a workspace

idempotent

Capability Spec

bitbucket-pipelines-pipelines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bitbucket API — Pipelines
  description: 'Bitbucket API — Pipelines. 68 operations. Lead operation: List variables for an environment. Self-contained
    Naftiko capability covering one Bitbucket Pipelines business surface.'
  tags:
  - Bitbucket Pipelines
  - Pipelines
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BITBUCKET_PIPELINES_API_KEY: BITBUCKET_PIPELINES_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-pipelines-pipelines
    baseUri: https://api.bitbucket.org/2.0
    description: Bitbucket API — Pipelines business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-deployments_config-environments-environment_uui
      path: /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables
      operations:
      - name: getdeploymentvariables
        method: GET
        description: List variables for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: environment_uuid
          in: path
          type: string
          description: The environment.
          required: true
      - name: createdeploymentvariable
        method: POST
        description: Create a variable for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: environment_uuid
          in: path
          type: string
          description: The environment.
          required: true
        - name: _body
          in: body
          type: string
          description: The variable to create
          required: true
    - name: repositories-workspace-repo_slug-deployments_config-environments-environment_uui
      path: /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}
      operations:
      - name: updatedeploymentvariable
        method: PUT
        description: Update a variable for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: environment_uuid
          in: path
          type: string
          description: The environment.
          required: true
        - name: variable_uuid
          in: path
          type: string
          description: The UUID of the variable to update.
          required: true
        - name: _body
          in: body
          type: string
          description: The updated deployment variable.
          required: true
      - name: deletedeploymentvariable
        method: DELETE
        description: Delete a variable for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: environment_uuid
          in: path
          type: string
          description: The environment.
          required: true
        - name: variable_uuid
          in: path
          type: string
          description: The UUID of the variable to delete.
          required: true
    - name: repositories-workspace-repo_slug-pipelines
      path: /repositories/{workspace}/{repo_slug}/pipelines
      operations:
      - name: getpipelinesforrepository
        method: GET
        description: List pipelines
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: creator.uuid
          in: query
          type: string
          description: The UUID of the creator of the pipeline to filter by.
        - name: target.ref_type
          in: query
          type: string
          description: The type of the reference to filter by.
        - name: target.ref_name
          in: query
          type: string
          description: The reference name to filter by.
        - name: target.branch
          in: query
          type: string
          description: The name of the branch to filter by.
        - name: target.commit.hash
          in: query
          type: string
          description: The revision to filter by.
        - name: target.selector.pattern
          in: query
          type: string
          description: The pipeline pattern to filter by.
        - name: target.selector.type
          in: query
          type: string
          description: The type of pipeline to filter by.
        - name: created_on
          in: query
          type: string
          description: The creation date to filter by.
        - name: trigger_type
          in: query
          type: string
          description: The trigger type to filter by.
        - name: status
          in: query
          type: string
          description: The pipeline status to filter by.
        - name: sort
          in: query
          type: string
          description: The attribute name to sort on.
        - name: page
          in: query
          type: integer
          description: The page number of elements to retrieve.
        - name: pagelen
          in: query
          type: integer
          description: The maximum number of results to return.
      - name: createpipelineforrepository
        method: POST
        description: Run a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: _body
          in: body
          type: string
          description: The pipeline to initiate.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-config-caches
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches
      operations:
      - name: getrepositorypipelinecaches
        method: GET
        description: List caches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
      - name: deleterepositorypipelinecaches
        method: DELETE
        description: Delete caches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: name
          in: query
          type: string
          description: The cache name.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}
      operations:
      - name: deleterepositorypipelinecache
        method: DELETE
        description: Delete a cache
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: cache_uuid
          in: path
          type: string
          description: The UUID of the cache to delete.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid-content-uri
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri
      operations:
      - name: getrepositorypipelinecachecontenturi
        method: GET
        description: Get cache content URI
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: cache_uuid
          in: path
          type: string
          description: The UUID of the cache.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-config-runners
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/runners
      operations:
      - name: getrepositoryrunners
        method: GET
        description: Get repository runners
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
      - name: createrepositoryrunner
        method: POST
        description: Create repository runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-config-runners-runner_uuid
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/runners/{runner_uuid}
      operations:
      - name: getrepositoryrunner
        method: GET
        description: Get repository runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: runner_uuid
          in: path
          type: string
          description: The runner uuid.
          required: true
      - name: updaterepositoryrunner
        method: PUT
        description: Update repository runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: runner_uuid
          in: path
          type: string
          description: The runner uuid.
          required: true
      - name: deleterepositoryrunner
        method: DELETE
        description: Delete repository runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: runner_uuid
          in: path
          type: string
          description: The runner uuid.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}
      operations:
      - name: getpipelineforrepository
        method: GET
        description: Get a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The pipeline UUID.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps
      operations:
      - name: getpipelinestepsforrepository
        method: GET
        description: List steps for a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}
      operations:
      - name: getpipelinestepforrepository
        method: GET
        description: Get a step of a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-log
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log
      operations:
      - name: getpipelinesteplogforrepository
        method: GET
        description: Get log file for a step
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}
      operations:
      - name: getpipelinecontainerlog
        method: GET
        description: Get the logs for the build container or a service container for a given step of a pipeline.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
        - name: log_uuid
          in: path
          type: string
          description: For the main build container specify the step UUID; for a service container specify the service container
            UUID
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports
      operations:
      - name: getpipelinetestreports
        method: GET
        description: Get a summary of test reports for a given step of a pipeline.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases
      operations:
      - name: getpipelinetestreporttestcases
        method: GET
        description: Get test cases for a given step of a pipeline.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons
      operations:
      - name: getpipelinetestreporttestcasereasons
        method: GET
        description: Get test case reasons (output) for a given test case in a step of a pipeline.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
        - name: step_uuid
          in: path
          type: string
          description: The UUID of the step.
          required: true
        - name: test_case_uuid
          in: path
          type: string
          description: The UUID of the test case.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-stopPipeline
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline
      operations:
      - name: stoppipeline
        method: POST
        description: Stop a pipeline
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: pipeline_uuid
          in: path
          type: string
          description: The UUID of the pipeline.
          required: true
    - name: repositories-workspace-repo_slug-pipelines_config
      path: /repositories/{workspace}/{repo_slug}/pipelines_config
      operations:
      - name: getrepositorypipelineconfig
        method: GET
        description: Get configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
      - name: updaterepositorypipelineconfig
        method: PUT
        description: Update configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: _body
          in: body
          type: string
          description: The updated repository pipelines configuration.
          required: true
    - name: repositories-workspace-repo_slug-pipelines_config-build_number
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/build_number
      operations:
      - name: updaterepositorybuildnumber
        method: PUT
        description: Update the next build number
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: _body
          in: body
          type: string
          description: The build number to update.
          required: true
    - name: repositories-workspace-repo_slug-pipelines_config-schedules
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules
      operations:
      - name: createrepositorypipelineschedule
        method: POST
        description: Create a schedule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: _body
          in: body
          type: string
          description: The schedule to create.
          required: true
      - name: getrepositorypipelineschedules
        method: GET
        description: List schedules
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
    - name: repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}
      operations:
      - name: getrepositorypipelineschedule
        method: GET
        description: Get a schedule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: schedule_uuid
          in: path
          type: string
          description: The uuid of the schedule.
          required: true
      - name: updaterepositorypipelineschedule
        method: PUT
        description: Update a schedule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: schedule_uuid
          in: path
          type: string
          description: The uuid of the schedule.
          required: true
        - name: _body
          in: body
          type: string
          description: The schedule to update.
          required: true
      - name: deleterepositorypipelineschedule
        method: DELETE
        description: Delete a schedule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: schedule_uuid
          in: path
          type: string
          description: The uuid of the schedule.
          required: true
    - name: repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid-execut
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions
      operations:
      - name: getrepositorypipelinescheduleexecutions
        method: GET
        description: List executions of a schedule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUI

# --- truncated at 32 KB (121 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitbucket-pipelines/refs/heads/main/capabilities/bitbucket-pipelines-pipelines.yaml