---
title: "List built-in network policies"
method: GET
path: "/networking/policies"
tags: ["Agents", "Networking"]
---

# List built-in network policies

`GET /networking/policies`

## Request

- Base URL: `https://app.warp.dev/api/v1`
- URL: `https://app.warp.dev/api/v1/networking/policies`
- Auth: HTTP bearer

Return Warp-managed network policies grouped by name, with every published
version and its included allowed hosts. Use a name and version in network_policy.extends.
Policies do not include the platform's system-required egress rules.

## Response `200`

Built-in policies sorted by name, with versions sorted lexicographically

- ListNetworkPoliciesResponse
  - `policies` BuiltinNetworkPolicyGroup[], required
    - `name` string, required
    - `latest_version` string, nullable, required: Highest stable version selected by the latest alias, or null if none exists.
    - `versions` BuiltinNetworkPolicy[], required
      - `name` string, required
      - `version` string, required: Exact semantic version.
      - `allowed_hosts` string[], required: Literal hosts granted by this policy version.
      - `is_latest` boolean, required: Whether this is the highest stable version selected by the latest alias.

## Other responses

- `401`: Authentication required

## Changes

- **2026-11-04** `4b5d145669be`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/warp/apis/oz-agent-api/changes/networking/policies/get.md)

---

[API](https://skmtc.dev/warp/apis/oz-agent-api.md) - [All operations](https://skmtc.dev/warp/apis/oz-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/warp/apis/oz-agent-api/revisions/4b5d145669be?raw)
