Wacht Bench is live — AI-assisted development for Wacht

getActorProject()

This method manages actor projects and actor-scoped project discovery.

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.getActorProject(projectId);}

Signature

function getActorProject(  projectId: string,  client?: WachtClient,): Promise<ActorProject>

Parameters

projectId: string;
Target actor project id.

Return value

id?: string | undefined;
Actor project id.
name?: string | undefined;
Actor project display name.
archived_at?: string | null | undefined;
Archive timestamp when archived.

On this page