> For the complete documentation index, see [llms.txt](https://teamhycon.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://teamhycon.gitbook.io/docs/network-api/untitled-2/response-peer-list.md).

# Response (peer list)

#### Response (peer list) `200 OK, application/json` <a href="#response-peer-list-200-ok-applicationjson" id="response-peer-list-200-ok-applicationjson"></a>

| Parameter           | Type   | Description                                                                                 |
| ------------------- | ------ | ------------------------------------------------------------------------------------------- |
| **host**            | string | The host value of the peer.                                                                 |
| **port**            | number | The port value of the peer.                                                                 |
| **successOutCount** | number | The number of successful outbound connections.                                              |
| **successInCount**  | number | The number of successful inbound connections.                                               |
| **lastSeen**        | number | Timestamp when last connected.                                                              |
| **failCount**       | number | The number of times the connection failed.                                                  |
| **lastAttempt**     | number | The timestamp of the last connection attempt.                                               |
| **active**          | number | If the peer is active. If this value is greater than 1, it is activated; else, deactivated. |

**Response Error Table**

| Status | Error         | Message                                         |
| ------ | ------------- | ----------------------------------------------- |
| 400    | `BAD_REQUEST` | The parameter value passed as count is invalid. |

**Response (Success)**

```
[
    {
        "host": "47.52.114.209",
        "port": 8148,
        "successOutCount": 748,
        "successInCount": 0,
        "lastSeen": 1545878160297,
        "failCount": 0,
        "lastAttempt": 1545878160162,
        "active": 2
    },
    ...
]
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://teamhycon.gitbook.io/docs/network-api/untitled-2/response-peer-list.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
