@cpod/sdk - v0.2.7
    Preparing search index...

    Function listProjectChats

    • List all chats within a project

      Parameters

      • projectId: string

        The unique identifier of the project

      Returns Promise<ProjectChat[]>

      Array of project chats

      401 - Not authenticated

      404 - Project not found

      import { listProjectChats } from "@cpod/sdk";

      const chats = await listProjectChats("project-123");
      chats.forEach(chat => {
      console.log(`${chat.title} - ${chat.message_count} messages`);
      });