# iai policies

Single-step behavioral rules for agents

## Synopsis

Manage policies in InteractiveAI projects.

Policies are core behavior rules — condition-action pairs that govern agent responses (YAML format).

## Options

```
  -h, --help   help for policies
```

## Options inherited from parent commands

```
      --api-key string               API key for authentication
      --cfg-file string              Path to YAML config file with organization, project, and optional service definitions
      --deployment-hostname string   Hostname for the deployment API (default "https://deployment.interactive.ai")
      --hostname string              Hostname for the API (default "https://app.interactive.ai")
```

## SEE ALSO

* [iai](/cli/iai.md) - InteractiveAI's CLI
* [iai policies create](/cli/iai_policies_create.md) - Create a policy
* [iai policies delete](/cli/iai_policies_delete.md) - Delete a policy
* [iai policies describe](/cli/iai_policies_describe.md) - Describe a policy in detail
* [iai policies diff](/cli/iai_policies_diff.md) - Compare two versions of a policy
* [iai policies list](/cli/iai_policies_list.md) - List policies in a project
* [iai policies schema](/cli/iai_policies_schema.md) - Display the JSON Schema for policies
* [iai policies update](/cli/iai_policies_update.md) - Update a policy (creates a new version)
* [iai policies versions](/cli/iai_policies_versions.md) - List versions of a policy


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.interactive.ai/cli/iai_policies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
