> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# bitbucket-pipelines

> Pipelines and deployments

**Server path:** `/bitbucket-pipelines` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                            | Description                        |
| ----------------------------------------------------------------------------------------------- | ---------------------------------- |
| [`bitbucket_pipelines_create_environment`](#bitbucket_pipelines_create_environment)             | Create an environment              |
| [`bitbucket_pipelines_create_pipeline`](#bitbucket_pipelines_create_pipeline)                   | Run a pipeline                     |
| [`bitbucket_pipelines_create_pipeline_variable`](#bitbucket_pipelines_create_pipeline_variable) | Create a variable for a repository |
| [`bitbucket_pipelines_delete_environment`](#bitbucket_pipelines_delete_environment)             | Delete an environment              |
| [`bitbucket_pipelines_get_deployment`](#bitbucket_pipelines_get_deployment)                     | Get a deployment                   |
| [`bitbucket_pipelines_get_environment`](#bitbucket_pipelines_get_environment)                   | Get an environment                 |
| [`bitbucket_pipelines_get_pipeline`](#bitbucket_pipelines_get_pipeline)                         | Get a pipeline                     |
| [`bitbucket_pipelines_get_pipeline_config`](#bitbucket_pipelines_get_pipeline_config)           | Get configuration                  |
| [`bitbucket_pipelines_get_pipeline_step`](#bitbucket_pipelines_get_pipeline_step)               | Get a step of a pipeline           |
| [`bitbucket_pipelines_get_pipeline_step_log`](#bitbucket_pipelines_get_pipeline_step_log)       | Get log file for a step            |
| [`bitbucket_pipelines_list_deployments`](#bitbucket_pipelines_list_deployments)                 | List deployments                   |
| [`bitbucket_pipelines_list_environments`](#bitbucket_pipelines_list_environments)               | List environments                  |
| [`bitbucket_pipelines_list_pipeline_steps`](#bitbucket_pipelines_list_pipeline_steps)           | List steps for a pipeline          |
| [`bitbucket_pipelines_list_pipeline_variables`](#bitbucket_pipelines_list_pipeline_variables)   | List variables for a repository    |
| [`bitbucket_pipelines_list_pipelines`](#bitbucket_pipelines_list_pipelines)                     | List pipelines                     |
| [`bitbucket_pipelines_stop_pipeline`](#bitbucket_pipelines_stop_pipeline)                       | Stop a pipeline                    |
| [`bitbucket_pipelines_update_pipeline_config`](#bitbucket_pipelines_update_pipeline_config)     | Update configuration               |

***

## bitbucket\_pipelines\_create\_environment

Create an environment

**Parameters:**

| Parameter   | Type   | Required | Default | Description                                                                                                                            |
| ----------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace` | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug` | string | Yes      | —       | The repository.                                                                                                                        |
| `name`      | string | No       | —       | The name of the environment.                                                                                                           |
| `type`      | string | Yes      | —       | The type value                                                                                                                         |
| `uuid`      | string | No       | —       | The UUID identifying the environment.                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "name": {
        "type": "string",
        "description": "The name of the environment."
      },
      "type": {
        "type": "string",
        "description": "The type value"
      },
      "uuid": {
        "type": "string",
        "description": "The UUID identifying the environment."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "type"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_create\_pipeline

Run a pipeline

**Parameters:**

| Parameter               | Type      | Required | Default | Description                                                                                                                            |
| ----------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`             | string    | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`             | string    | Yes      | —       | The repository.                                                                                                                        |
| `build_number`          | integer   | No       | —       | The build number of the pipeline.                                                                                                      |
| `build_seconds_used`    | integer   | No       | —       | The number of build seconds used by this pipeline.                                                                                     |
| `completed_on`          | string    | No       | —       | The timestamp when the Pipeline was completed. This is not set if the pipeline is still in progress.                                   |
| `configuration_sources` | object\[] | No       | —       | An ordered list of sources of the pipeline configuration                                                                               |
| `created_on`            | string    | No       | —       | The timestamp when the pipeline was created.                                                                                           |
| `creator`               | object    | No       | —       | The creator value                                                                                                                      |
| `links`                 | object    | No       | —       | The links value                                                                                                                        |
| `repository`            | object    | No       | —       | The repository value                                                                                                                   |
| `state`                 | object    | No       | —       | The state value                                                                                                                        |
| `target`                | object    | No       | —       | The target value                                                                                                                       |
| `trigger`               | object    | No       | —       | The trigger value                                                                                                                      |
| `type`                  | string    | Yes      | —       | The type value                                                                                                                         |
| `uuid`                  | string    | No       | —       | The UUID identifying the pipeline.                                                                                                     |
| `variables`             | any\[]    | No       | —       | The variables for the pipeline.                                                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "build_number": {
        "type": "integer",
        "description": "The build number of the pipeline."
      },
      "build_seconds_used": {
        "type": "integer",
        "description": "The number of build seconds used by this pipeline."
      },
      "completed_on": {
        "type": "string",
        "description": "The timestamp when the Pipeline was completed. This is not set if the pipeline is still in progress."
      },
      "configuration_sources": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "description": "Identifier of the configuration source"
            },
            "uri": {
              "type": "string",
              "format": "uri",
              "description": "Link to the configuration source view or its immediate content"
            }
          },
          "required": [
            "source",
            "uri"
          ]
        },
        "description": "An ordered list of sources of the pipeline configuration"
      },
      "created_on": {
        "type": "string",
        "description": "The timestamp when the pipeline was created."
      },
      "creator": {
        "description": "The creator value"
      },
      "links": {
        "description": "The links value"
      },
      "repository": {
        "description": "The repository value"
      },
      "state": {
        "description": "The state value"
      },
      "target": {
        "description": "The target value"
      },
      "trigger": {
        "description": "The trigger value"
      },
      "type": {
        "type": "string",
        "description": "The type value"
      },
      "uuid": {
        "type": "string",
        "description": "The UUID identifying the pipeline."
      },
      "variables": {
        "type": "array",
        "description": "The variables for the pipeline."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "type"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_create\_pipeline\_variable

Create a variable for a repository

**Parameters:**

| Parameter   | Type    | Required | Default | Description                                                                                                                            |
| ----------- | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace` | string  | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug` | string  | Yes      | —       | The repository.                                                                                                                        |
| `key`       | string  | No       | —       | The unique name of the variable.                                                                                                       |
| `secured`   | boolean | No       | —       | If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.                        |
| `type`      | string  | Yes      | —       | The type value                                                                                                                         |
| `uuid`      | string  | No       | —       | The UUID identifying the variable.                                                                                                     |
| `value`     | string  | No       | —       | The value of the variable. If the variable is secured, this will be empty.                                                             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "key": {
        "type": "string",
        "description": "The unique name of the variable."
      },
      "secured": {
        "type": "boolean",
        "description": "If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API."
      },
      "type": {
        "type": "string",
        "description": "The type value"
      },
      "uuid": {
        "type": "string",
        "description": "The UUID identifying the variable."
      },
      "value": {
        "type": "string",
        "description": "The value of the variable. If the variable is secured, this will be empty."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "type"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_delete\_environment

Delete an environment

**Parameters:**

| Parameter          | Type   | Required | Default | Description                                                                                                                            |
| ------------------ | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`        | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`        | string | Yes      | —       | The repository.                                                                                                                        |
| `environment_uuid` | string | Yes      | —       | The environment UUID.                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "environment_uuid": {
        "type": "string",
        "description": "The environment UUID."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "environment_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_get\_deployment

Get a deployment

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                            |
| ----------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`       | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`       | string | Yes      | —       | The repository.                                                                                                                        |
| `deployment_uuid` | string | Yes      | —       | The deployment UUID.                                                                                                                   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "deployment_uuid": {
        "type": "string",
        "description": "The deployment UUID."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "deployment_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_get\_environment

Get an environment

**Parameters:**

| Parameter          | Type   | Required | Default | Description                                                                                                                            |
| ------------------ | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`        | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`        | string | Yes      | —       | The repository.                                                                                                                        |
| `environment_uuid` | string | Yes      | —       | The environment UUID.                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "environment_uuid": {
        "type": "string",
        "description": "The environment UUID."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "environment_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_get\_pipeline

Get a pipeline

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                                                                                                            |
| --------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`     | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`     | string | Yes      | —       | The repository.                                                                                                                        |
| `pipeline_uuid` | string | Yes      | —       | The pipeline UUID.                                                                                                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "pipeline_uuid": {
        "type": "string",
        "description": "The pipeline UUID."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "pipeline_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_get\_pipeline\_config

Get configuration

**Parameters:**

| Parameter   | Type   | Required | Default | Description     |
| ----------- | ------ | -------- | ------- | --------------- |
| `workspace` | string | Yes      | —       | The account.    |
| `repo_slug` | string | Yes      | —       | The repository. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "The account."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_get\_pipeline\_step

Get a step of a pipeline

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                                                                                                            |
| --------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`     | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`     | string | Yes      | —       | The repository.                                                                                                                        |
| `pipeline_uuid` | string | Yes      | —       | The UUID of the pipeline.                                                                                                              |
| `step_uuid`     | string | Yes      | —       | The UUID of the step.                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "pipeline_uuid": {
        "type": "string",
        "description": "The UUID of the pipeline."
      },
      "step_uuid": {
        "type": "string",
        "description": "The UUID of the step."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "pipeline_uuid",
      "step_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_get\_pipeline\_step\_log

Get log file for a step

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                                                                                                            |
| --------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`     | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`     | string | Yes      | —       | The repository.                                                                                                                        |
| `pipeline_uuid` | string | Yes      | —       | The UUID of the pipeline.                                                                                                              |
| `step_uuid`     | string | Yes      | —       | The UUID of the step.                                                                                                                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "pipeline_uuid": {
        "type": "string",
        "description": "The UUID of the pipeline."
      },
      "step_uuid": {
        "type": "string",
        "description": "The UUID of the step."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "pipeline_uuid",
      "step_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_list\_deployments

List deployments

**Parameters:**

| Parameter   | Type   | Required | Default | Description                                                                                                                            |
| ----------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace` | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug` | string | Yes      | —       | The repository.                                                                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_list\_environments

List environments

**Parameters:**

| Parameter   | Type   | Required | Default | Description                                                                                                                            |
| ----------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace` | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug` | string | Yes      | —       | The repository.                                                                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_list\_pipeline\_steps

List steps for a pipeline

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                                                                                                            |
| --------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`     | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`     | string | Yes      | —       | The repository.                                                                                                                        |
| `pipeline_uuid` | string | Yes      | —       | The UUID of the pipeline.                                                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "pipeline_uuid": {
        "type": "string",
        "description": "The UUID of the pipeline."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "pipeline_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_list\_pipeline\_variables

List variables for a repository

**Parameters:**

| Parameter   | Type   | Required | Default | Description                                                                                                                            |
| ----------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace` | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug` | string | Yes      | —       | The repository.                                                                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_list\_pipelines

List pipelines

**Parameters:**

| Parameter                 | Type    | Required | Default | Description                                                                                                                            |
| ------------------------- | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`               | string  | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`               | string  | Yes      | —       | The repository.                                                                                                                        |
| `creator.uuid`            | string  | No       | —       | The UUID of the creator of the pipeline to filter by.                                                                                  |
| `target.ref_type`         | string  | No       | —       | The type of the reference to filter by.                                                                                                |
| `target.ref_name`         | string  | No       | —       | The reference name to filter by.                                                                                                       |
| `target.branch`           | string  | No       | —       | The name of the branch to filter by.                                                                                                   |
| `target.commit.hash`      | string  | No       | —       | The revision to filter by.                                                                                                             |
| `target.selector.pattern` | string  | No       | —       | The pipeline pattern to filter by.                                                                                                     |
| `target.selector.type`    | string  | No       | —       | The type of pipeline to filter by.                                                                                                     |
| `created_on`              | string  | No       | —       | The creation date to filter by.                                                                                                        |
| `trigger_type`            | string  | No       | —       | The trigger type to filter by.                                                                                                         |
| `status`                  | string  | No       | —       | The pipeline status to filter by.                                                                                                      |
| `sort`                    | string  | No       | —       | The attribute name to sort on.                                                                                                         |
| `page`                    | integer | No       | —       | The page number of elements to retrieve.                                                                                               |
| `pagelen`                 | integer | No       | —       | The maximum number of results to return.                                                                                               |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "creator.uuid": {
        "type": "string",
        "description": "The UUID of the creator of the pipeline to filter by."
      },
      "target.ref_type": {
        "type": "string",
        "description": "The type of the reference to filter by.",
        "enum": [
          "BRANCH",
          "TAG",
          "ANNOTATED_TAG"
        ]
      },
      "target.ref_name": {
        "type": "string",
        "description": "The reference name to filter by."
      },
      "target.branch": {
        "type": "string",
        "description": "The name of the branch to filter by."
      },
      "target.commit.hash": {
        "type": "string",
        "description": "The revision to filter by."
      },
      "target.selector.pattern": {
        "type": "string",
        "description": "The pipeline pattern to filter by."
      },
      "target.selector.type": {
        "type": "string",
        "description": "The type of pipeline to filter by.",
        "enum": [
          "BRANCH",
          "TAG",
          "CUSTOM",
          "PULLREQUESTS",
          "DEFAULT"
        ]
      },
      "created_on": {
        "type": "string",
        "description": "The creation date to filter by."
      },
      "trigger_type": {
        "type": "string",
        "description": "The trigger type to filter by.",
        "enum": [
          "PUSH",
          "MANUAL",
          "SCHEDULED",
          "PARENT_STEP"
        ]
      },
      "status": {
        "type": "string",
        "description": "The pipeline status to filter by.",
        "enum": [
          "PARSING",
          "PENDING",
          "PAUSED",
          "HALTED",
          "BUILDING",
          "ERROR",
          "PASSED",
          "FAILED",
          "STOPPED",
          "UNKNOWN"
        ]
      },
      "sort": {
        "type": "string",
        "description": "The attribute name to sort on.",
        "enum": [
          "creator.uuid",
          "created_on",
          "run_creation_date"
        ]
      },
      "page": {
        "type": "integer",
        "description": "The page number of elements to retrieve."
      },
      "pagelen": {
        "type": "integer",
        "description": "The maximum number of results to return."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_stop\_pipeline

Stop a pipeline

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                                                                                                            |
| --------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`     | string | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`     | string | Yes      | —       | The repository.                                                                                                                        |
| `pipeline_uuid` | string | Yes      | —       | The UUID of the pipeline.                                                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "pipeline_uuid": {
        "type": "string",
        "description": "The UUID of the pipeline."
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "pipeline_uuid"
    ]
  }
  ```
</Expandable>

***

## bitbucket\_pipelines\_update\_pipeline\_config

Update configuration

**Parameters:**

| Parameter    | Type    | Required | Default | Description                                                                                                                            |
| ------------ | ------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `workspace`  | string  | Yes      | —       | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `&#123;workspace UUID&#125;`. |
| `repo_slug`  | string  | Yes      | —       | The repository.                                                                                                                        |
| `enabled`    | boolean | No       | —       | Whether Pipelines is enabled for the repository.                                                                                       |
| `repository` | object  | No       | —       | The repository value                                                                                                                   |
| `type`       | string  | Yes      | —       | The type value                                                                                                                         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspace": {
        "type": "string",
        "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
      },
      "repo_slug": {
        "type": "string",
        "description": "The repository."
      },
      "enabled": {
        "type": "boolean",
        "description": "Whether Pipelines is enabled for the repository."
      },
      "repository": {
        "description": "The repository value"
      },
      "type": {
        "type": "string",
        "description": "The type value"
      }
    },
    "required": [
      "PCID",
      "workspace",
      "repo_slug",
      "type"
    ]
  }
  ```
</Expandable>
