> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-codex-docs-audit-20260719-0149.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ag infra restart

> Options for ag infra restart: run ag infra down, wait 2 seconds, then ag infra up for the active AgentOS codebase.

Restart resources for active AgentOS codebase

## Params

<ResponseField name="resource_filter" type="str">
  Resource filter. Format - ENV:INFRA:GROUP:NAME:TYPE
</ResponseField>

<ResponseField name="env_filter" type="str">
  Filter the environment to restart. `--env` `-e`
</ResponseField>

<ResponseField name="infra_filter" type="str">
  Filter the infra to restart. `--infra` `-i`
</ResponseField>

<ResponseField name="group_filter" type="str">
  Filter resources using group name. `--group` `-g`
</ResponseField>

<ResponseField name="name_filter" type="str">
  Filter resource using name. `--name` `-n`
</ResponseField>

<ResponseField name="type_filter" type="str">
  Filter resource using type `--type` `-t`
</ResponseField>

<ResponseField name="dry_run" type="bool">
  Print resources and exit. `--dry-run` `-dr`
</ResponseField>

<ResponseField name="auto_confirm" type="bool">
  Skip the confirmation before restarting resources. `--yes` `-y`
</ResponseField>

<ResponseField name="print_debug_log" type="bool">
  Print debug logs. `--debug` `-d`
</ResponseField>

<ResponseField name="force" type="bool">
  Force `--force` `-f`
</ResponseField>

<ResponseField name="pull" type="bool">
  Pull images where applicable. `--pull` `-p`
</ResponseField>
