NewWacht Bench is live — AI-assisted development for Wacht

getProjectTaskBoard()

Returns the task board object associated with the given project id.

Usage

The following example shows a basic usage of the backend client from @wacht/nextjs/server.

import { wachtClient } from '@wacht/nextjs/server';export async function getProjectTaskBoard(projectId: string) {  const client = await wachtClient();  return client.ai.getProjectTaskBoard(projectId);}

Signature

function getProjectTaskBoard(  projectId: string,): Promise<ProjectTaskBoard>

Parameters

projectId?: string | undefined;
Project id whose task board should be loaded.

Return value

project_id?: string | undefined;
Parent project id.
columns?: ProjectTaskBoardColumn[] | undefined;
Board columns and ordering metadata.
items_count?: number | undefined;
Total number of board items.

Behavior

  • Fetches a single resource by identifier or query context.
  • Use this result as the source of truth before update, replay, or delete flows.

On this page