Skip to main content

Function: createProject()

Defined in: src/utils/projects.ts Creates a new project.

Parameters

name

string Name of the project to create.

options?

ProjectCreateOptions (Optional) Additional create options.

Returns

Promise<{ createdAt: string; createdBy?: null | string; id: string; name?: null | string; type?: null | "prompt_evaluation" | "llm_monitor" | "gen_ai" | "protect"; updatedAt: string; }> A promise that resolves to the created project.