For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai prompts list

List prompts in a project

Synopsis

List text and chat prompts in a specific project.

Returns all general-purpose prompts with their name, labels, tags, and last update time. Typed prompts (routines, policies, etc.) are excluded. Folders are shown with a trailing "/" and can be browsed into with --folder.

iai prompts list [flags]

Examples

  iai prompts list
  iai prompts list --folder my-folder
  iai prompts list --folder my-folder/sub-folder
  iai prompts list --page 2 --limit 10

Options

      --folder string         List items inside the given folder path
  -h, --help                  help for list
      --json                  Output response as JSON
      --limit int             Number of items per page (default: 50)
  -o, --organization string   Organization name that owns the project
      --page int              Page number for pagination
  -p, --project string        Project name that owns the prompts
      --yaml                  Output response as YAML

Options inherited from parent commands

SEE ALSO

  • iai prompts - Versioned prompts for agents, evaluators, and guardrails

Last updated

Was this helpful?