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

iai prompts get

Describe a prompt in detail

Synopsis

Show detailed information about a specific prompt, including its full content.

Without flags, returns the version the server resolves by default. Use --version to retrieve a specific version number, or --label to resolve a specific label.

iai prompts get <name> [flags]

Examples

  iai prompts get greeting
  iai prompts get greeting --version 3
  iai prompts get greeting --label staging

Options

  -h, --help                  help for get
      --json                  Output response as JSON
      --label string          Retrieve the version with this label
  -o, --organization string   Organization name that owns the project
  -p, --project string        Project name that owns the prompts
      --version int           Retrieve a specific version number
      --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?