# EffectiveNetworkPolicy


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "description": "EffectiveNetworkPolicy is the policy after layering and fail-closed defaults.",
  "properties": {
    "allowNetworks": {
      "description": "allow_networks are effective allowed rules with attribution.",
      "items": {
        "$ref": "#/components/schemas/AttributedRule"
      },
      "type": "array"
    },
    "denyNetworks": {
      "description": "deny_networks are effective denied rules with attribution.",
      "items": {
        "$ref": "#/components/schemas/AttributedRule"
      },
      "type": "array"
    },
    "mode": {
      "$ref": "#/components/schemas/NetworkPolicyMode",
      "description": "mode is the effective mode and is always concrete in conforming responses.",
      "not": {
        "enum": [
          "unspecified"
        ]
      }
    }
  },
  "required": [
    "mode"
  ],
  "title": "EffectiveNetworkPolicy",
  "type": "object"
}
```



