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

# Pipedrive: Get Projects Phases

> List the phases on a Pipedrive project board. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List the phases on a Pipedrive project board.

> [!NOTE]
>
> Tool ID: `pipedrive_get_projects_phases`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'pipedrive_get_projects_phases',
  {
    "board_id": 123
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute pipedrive_get_projects_phases --input '{
  "board_id": 123
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "success": true,
    "data": [
      {
        "id": 123,
        "name": "Example",
        "board_id": 123
      }
    ],
    "additional_data": {}
  }
}
```

Use `deepline describe pipedrive_get_projects_phases --json` for the latest machine-readable contract.

## Input reference

Returns all active project phases under a specific board.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.board_id` | `integer` | Yes | — | The ID of the board for which phases are requested |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns all active project phases under a specific board.",
    "properties": {
      "board_id": {
        "type": "integer",
        "description": "The ID of the board for which phases are requested"
      }
    },
    "required": [
      "board_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.success` | `boolean` | No | — | If the response is successful or not |
| `result.data.data` | `array` | No | — | The array of project phases |
| `result.data.data[].id` | `integer` | No | — | The ID of the project phase |
| `result.data.data[].name` | `string` | No | — | The name of the project phase |
| `result.data.data[].board_id` | `integer` | No | — | The ID of the project board this phase belongs to |
| `result.data.data[].order_nr` | `integer` | No | — | The order of the phase within its board |
| `result.data.data[].add_time` | `string` | No | — | The creation date and time of the phase in ISO 8601 format |
| `result.data.data[].update_time` | `string` | No | — | The update date and time of the phase in ISO 8601 format |
| `result.data.additional_data` | `object \| null` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "If the response is successful or not"
          },
          "data": {
            "type": "array",
            "description": "The array of project phases",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The ID of the project phase"
                },
                "name": {
                  "type": "string",
                  "description": "The name of the project phase"
                },
                "board_id": {
                  "type": "integer",
                  "description": "The ID of the project board this phase belongs to"
                },
                "order_nr": {
                  "type": "integer",
                  "description": "The order of the phase within its board"
                },
                "add_time": {
                  "type": "string",
                  "description": "The creation date and time of the phase in ISO 8601 format"
                },
                "update_time": {
                  "type": "string",
                  "description": "The update date and time of the phase in ISO 8601 format"
                }
              },
              "additionalProperties": false
            }
          },
          "additional_data": {
            "type": [
              "object",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Pipedrive provider guide](https://deepline.com/docs/providers/pipedrive/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.