iai policies list
List policies in a project
Synopsis
List policies in a specific project.
Returns all policies with their name, labels, tags, and last update time. Folders are shown with a trailing "/" (colored when stdout is a terminal) and can be browsed into with --folder.
iai policies list [flags]Examples
iai policies list
iai policies list --folder my-folder
iai policies list --folder my-folder/sub-folder
iai policies list --page 2 --limit 10Options
--folder string List items in a subfolder of policies/ (the policies/ prefix is implied)
-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 YAMLOptions inherited from parent commands
SEE ALSO
iai policies - Single-step behavioral rules for agents
Last updated
Was this helpful?

