---
title: "Get network configuration"
method: GET
path: "/api/v1/network/configuration"
tags: ["Network"]
---

# Get network configuration

`GET /api/v1/network/configuration`

## Request

- Base URL: `http://miner`
- URL: `http://miner/api/v1/network/configuration`
- Auth: none declared
- TypeScript: <https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/docs/api/v1/network/configuration/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetches the miner's network configuration, including interface settings, IP configurations, and routing details.

## Response `200`

Successful response containing network configuration.

- NetworkConfiguration
  - `hostname` string, required: Hostname
  - `protocol` union: Network protocol
    - object
      - `dhcp` Dhcp, required
    - object
      - `static` Static, required
        - `address` string, required: IP address
        - `dns_servers` string[], required: DNS servers
        - `gateway` string, required: Gateway
        - `netmask` string, required: Netmask

---

[API](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api.md) - [All operations](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/revisions/d341c8e1d506?raw)
