NewWacht Bench is live — AI-assisted development for Wacht

listProjectTaskBoardItems()

This method lists task board items for one actor project.

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 example() {  const client = await wachtClient();  const projectId: string = 'projectid-123';  return client.ai.listProjectTaskBoardItems(projectId);}

Signature

function listProjectTaskBoardItems(  projectId: string,  client?: WachtClient,): Promise<PaginatedResponse<ProjectTaskBoardItem>>

Parameters

projectId: string;
Target actor project id.

Return value

data?: ProjectTaskBoardItem[] | undefined;
Current page result items.
has_more?: boolean | undefined;
Whether additional pages are available.
limit?: number | undefined;
Effective page size when returned by backend.
offset?: number | undefined;
Effective offset when returned by backend.

Examples

AI usage pattern

import { wachtClient } from '@wacht/nextjs/server';export async function createAndInspectBoardItem(projectId: string) {  const client = await wachtClient();  const item = await client.ai.createProjectTaskBoardItem(projectId, { title: 'Investigate incident' });  const events = await client.ai.listProjectTaskBoardItemEvents(projectId, item.id);  return { item, events };}

On this page