# NetBird Peer Decode

Expand NetBird Peer without losing unknown fields.

Canonical URL: https://opennodeflow.dev/wiki/reference-dev-netbird-type-peer-decode/
JSON reference: https://opennodeflow.dev/wiki/reference-dev-netbird-type-peer-decode/index.json
Source snapshot: 2026-10-23

Expand NetBird Peer without losing unknown fields.

Inputs: value (required). Outputs: id, name, ip, ipv6, connected, last_seen, os, hostname, version, user_id, groups, ssh_enabled, login_expiration_enabled, approval_required, remainder.

Pure transformation; no provider requests, persistent state or credentials. Record codecs reject remainder collisions with declared fields. Missing optional fields stay absent; explicit null follows the pinned schema. List codecs select/reinsert one item at index; an empty list omits item and requires index zero. Connect only optional outputs present for your case.

Uses the exact shared NetBird Peer version. Encode output validates the complete resource schema; scalar codec ports do not weaken it.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `dev.netbird.type.peer.decode` |
| Kind | node |
| Family | netbird |
| Pack | pack_netbird |

[Integration guide](/wiki/integration-netbird/) · [Browse the catalog](/wiki/integration-catalog/)

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Execute | control | No |  |
| `value` | Value | @dev.netbird.type.peer v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `id` | Id | string | No |  |
| `name` | Name | string | No |  |
| `ip` | Ip | string | No |  |
| `ipv6` | Ipv6 | string | No |  |
| `connected` | Connected | boolean | No |  |
| `last_seen` | Last Seen | string | No |  |
| `os` | Os | string | No |  |
| `hostname` | Hostname | string | No |  |
| `version` | Version | string | No |  |
| `user_id` | User Id | string | No |  |
| `groups` | Groups | def_ffc66f61eee4 v1 | No |  |
| `ssh_enabled` | Ssh Enabled | boolean | No |  |
| `login_expiration_enabled` | Login Expiration Enabled | boolean | No |  |
| `approval_required` | Approval Required | boolean | No |  |
| `remainder` | Remainder | def_f9962f86c7f4 v1 | Yes |  |
| `error` | On error | control | No |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../OpenNodeFlow-Library/work/catalog-all.mjs`
- `../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs`
- `shared/seed.ts`
- `shared/storage-library.ts`
- `shared/variable-library.ts`
- `shared/control-flow.ts`
- `shared/remote-routes.ts`
- `server/runtime-library.ts`
- `shared/error-library.ts`
- `shared/storage-model.ts`
- `shared/builtin-documentation.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
