# Get Items By Column Value — monday

> Find every item on a board whose column matches a value, following the API's cursor automatically so all matches are returned in a single call. Use to look up items by a field instead of pulling the whole board with Get Board Items Page…

- Key: `monday-get-items-by-column-value`
- Type: Action (Read-only)
- Version: 0.1.8
- App: monday (`monday`) — https://pipedream.com/apps/monday.md
- This page (HTML): https://pipedream.com/apps/monday/actions/get-items-by-column-value
- Hints: read-only · open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/monday/actions/get-items-by-column-value/get-items-by-column-value.mjs

## Description

Find every item on a board whose column matches a value, following the API's cursor automatically so all matches are returned in a single call. Use to look up items by a field instead of pulling the whole board with **Get Board Items Page**. Set `Board ID`, `Column` and `Value`. For a `status` or `dropdown` column pass the label text rather than its ID — call **List Columns** to see the labels a column accepts. Example: Column `status`, Value `Done`. Returns an array of matching items, each with a `column_values` array of `{ id, value }` pairs; an empty array means nothing matched. Gotcha: not every column type is searchable this way. [See the documentation](https://developer.monday.com/api-reference/reference/items-page-by-column-values)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `boardId` | `string` | Yes | The board to act on, as a board ID (e.g. 2419687965). Use List Board ID Options to look up a board ID by name. Options are loaded from the connected account. |
| `columnId` | `string` | Yes | The column to search Options are loaded from the connected account. |
| `value` | `string` | Yes | The value to search for. For a status or dropdown column this is the label text rather than its ID (for example, Done) — use List Columns to see the labels a column accepts. See the documentation for which column types are searchable and what value each one expects |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "monday",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "monday-get-items-by-column-value",
  arguments: {
    boardId: "Board ID",
    columnId: "Column",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "monday-get-items-by-column-value",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    monday: { authProvisionId: "apn_xxxxxxx" },
    boardId: "Board ID",
    columnId: "Column",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "monday-get-items-by-column-value",
    "configured_props": {
      "monday": { "authProvisionId": "apn_xxxxxxx" },
      "boardId": "Board ID",
      "columnId": "Column"
    }
  }'
```

---

- App: https://pipedream.com/apps/monday.md · All apps: https://pipedream.com/apps
