List all prompts available to the client.
import { listPrompts } from "@arizeai/phoenix-client/prompts";const prompts = await listPrompts({});console.log(prompts); Copy
import { listPrompts } from "@arizeai/phoenix-client/prompts";const prompts = await listPrompts({});console.log(prompts);
If the prompts cannot be listed or the response is invalid.
List all prompts available to the client.