---
search:
  tags:
    - System
    - GET
seo:
  description: >-
    Get version and network status. Reference for the GET /system endpoint in
    the piecemeal API.
sidebar:
  label: Get version and network status
  badge: GET
title: Get version and network status
type: openapi-operation
---
`GET /system`

**Responses**

- `200` — OK
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

Response example, 200:

```json
{
  "allowedRoots": [
    "string"
  ],
  "dataDir": "string",
  "downloadDir": "string",
  "listenAddrs": [
    "string"
  ],
  "natpmp": {
    "error": "string",
    "gateway": "string",
    "lifetime": 0,
    "port": 0,
    "renewedAt": "2019-08-24T14:15:22Z"
  },
  "port": 0,
  "startedAt": "2019-08-24T14:15:22Z",
  "version": "string",
  "watchDir": "string"
}
```
