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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List board memberships

> List Trello board memberships and their members and roles.

`trello.listBoardMemberships` lists the membership relationships used by board role-management actions.

```ts automations/list-trello-board-memberships.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { trello } from "automate.ax/trello"

export default automation("List Trello board memberships", () => {
  onDashboardRun({ title: "List Trello board memberships" })
  trello.listBoardMemberships({ board: "board-id", filter: "all" })
})
```

Provide `board` as an ID, short link, or standard board URL. `filter` accepts `"admins"`, `"all"`, `"none"`, or `"normal"` and defaults to `"all"`. Optional second argument `{ account }` selects a Trello binding.

Returns `Signal<TrelloBoardMembership[]>`. Each membership contains its stable `id`, normalized `memberId`, `memberType` (`"admin"`, `"normal"`, or `"observer"`), and `unconfirmed` and `deactivated` flags. Pass the membership `id` to `trello.updateBoardMemberRole`; use `memberId` to identify the represented member.
