Home > @uniformdev/canvas > PromptClient > get

PromptClient.get() method

Fetches Prompts for a project

Signature:

Parameters

ParameterTypeDescription
optionsExceptProject<PromptsGetParameters>(Optional)

Returns:

Promise<{ id: string; integrationType: string; name?: string | null; text?: string | null; data?: { [key: string]: unknown; } | null; enabled?: boolean | null; builtIn?: boolean | null; parameterTypes?: string[] | null; } | { id: string; integrationType: string; name?: string | null; text?: string | null; data?: { [key: string]: unknown; } | null; enabled?: boolean | null; builtIn?: boolean | null; parameterTypes?: string[] | null; }[]>