NewWacht Bench is live — AI-assisted development for Wacht

unarchiveActorProject()

This method restores an archived 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.unarchiveActorProject(projectId);}

Signature

function unarchiveActorProject(  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