---
title: "Inspect the default network policy"
description: "Returns the outbound network policy new computers start with."
canonical: "https://www.cool.computer/docs/api-reference/network/inspect-the-default-network-policy"
---
# Inspect the default network policy

> Returns the outbound network policy new computers start with.

```http
GET https://api.cool.computer/api/network/default
```

Returns the outbound network policy new computers start with.

## Authorization

- A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

## Responses

- `200`: The account's default outbound network policy.
  - `application/json` (object)
    - `mode` ("open" or "none" or "allowlist", required)
    - `allowed_hosts` (array of string, at most 100 items): Required and non-empty only when mode is allowlist. Each value is a hostname, public IP, or leading wildcard such as \*.example.com, without a scheme, port, path, or CIDR.
- `401`: Unauthorized.
- `429`: Too Many Requests. If the problem code is api_request_rate_exceeded, wait for Retry-After seconds; other problem codes describe a separate limit.
- `500`: Internal Server Error.
- `default`: A machine-readable API error with a stable code and recovery instruction.

An error is an `application/problem+json` document with a stable `code`; [API errors](/docs/api-reference/errors) says how to handle one.

## Example

```sh
curl "https://api.cool.computer/api/network/default" \
  -H "authorization: Bearer $TOKEN"
```
