NetBird List Network Resources
List network resources. NetBird returns a finite JSON array without a documented continuation; local maxBytes/maxItems still apply.
List network resources. NetBird returns a finite JSON array without a documented continuation; local maxBytes/maxItems still apply.
GET /api/networks/{networkId}/resources. Read operation.
Inputs: networkId (optional). Missing inputs may come from the selected connection profile config or explicit node defaults. Outputs: status, request_id, operation_url, items, count, has_more, continuation. Optional outputs are absent when the provider omits them. HTTP202 is acceptance, not completed work; operation_url exposes a same-origin asynchronous status URL when supplied.
Setup: configure baseUrl (https://api.netbird.io), header credentials through encrypted secret names or Connections. Default secret name: NETBIRD_TOKEN. Connection credentials accessToken/apiKey or username/password are resolved at execution. Never put credentials in literal inputs, baseUrl or logs. Required access: Read permission for the selected resource.
Bounds: requestTimeoutMs=15000 (100..120000), maxBytes=1048576 (1024..3000000), maxItems=1000 (1..5000), maxPages=1 (1..20). One bounded request; use the provider-specific explicit paging inputs where offered. HTTPS is required; private HTTP needs allowHttp=true. TLS validation remains enabled. Redirects, cross-origin/escaped continuation URLs and repeated continuations fail. No implicit retries. Error text contains provider/status only, never raw response bodies or credentials. Reconcile an uncertain external action before another attempt.
Synthetic example inputs:
{
"networkId": "demo-network"
}This example is documentation, not a run.
Source: https://docs.netbird.io/api/resources/networks
Operation arguments#
Required operation arguments must resolve before a provider request is sent. An input socket can be optional to allow configuration, a connection profile or a documented default to supply the value. Optional socket wiring does not make a required operation target optional.
| Argument | Required at runtime | Type | Default | Constraints |
|---|---|---|---|---|
networkId | Yes | string | — | See operation contract |
Catalog identity#
| Field | Value |
|---|---|
| Source key | dev.netbird.list-network-resource |
| Kind | node |
| Family | netbird |
| Pack | pack_netbird |
Integration guide · Browse the catalog
Inputs#
| Socket ID | Label | Type | Required | Meaning |
|---|---|---|---|---|
exec | Execute | control | No | |
networkId | NetworkId | string | No |
Outputs#
| Socket ID | Label | Type | Required | Meaning |
|---|---|---|---|---|
next | Next | control | No | |
status | Status | number | Yes | |
request_id | Request Id | string | No | |
operation_url | Operation Url | string | No | |
items | Items | @dev.netbird.type.network-resource-list v1 | Yes | |
count | Count | number | Yes | |
has_more | Has More | boolean | Yes | |
continuation | Continuation | string | No | |
error | On error | control | No |
Configuration schema#
{
"type": "object",
"properties": {
"baseUrl": {
"type": "string",
"maxLength": 2000
},
"allowHttp": {
"type": "boolean",
"default": false
},
"tokenSecret": {
"type": "string",
"maxLength": 120
},
"username": {
"type": "string",
"maxLength": 160
},
"usernameSecret": {
"type": "string",
"maxLength": 120
},
"passwordSecret": {
"type": "string",
"maxLength": 120
},
"requestTimeoutMs": {
"type": "integer",
"minimum": 100,
"maximum": 120000,
"default": 15000
},
"maxBytes": {
"type": "integer",
"minimum": 1024,
"maximum": 3000000,
"default": 1048576
},
"maxPages": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 1
},
"maxItems": {
"type": "integer",
"minimum": 1,
"maximum": 5000,
"default": 1000
},
"confirmWrites": {
"type": "boolean",
"default": false
}
},
"additionalProperties": true
}Provider operation contract#
This source metadata records the exact request method/path, effects, scopes, argument contracts and synthetic examples. It does not establish account permission or provider execution.
{
"key": "list-network-resource",
"method": "GET",
"path": "/api/networks/{networkId}/resources",
"effect": "read",
"description": "List network resources. NetBird returns a finite JSON array without a documented continuation; local maxBytes/maxItems still apply.",
"scopes": "Read permission for the selected resource.",
"arguments": {
"networkId": {
"type": "string",
"required": true
}
},
"response": {
"kind": "list",
"type": "network-resource",
"path": []
},
"sampleInputs": {
"networkId": "demo-network"
},
"sampleResponse": [
{
"id": "demo-resource",
"name": "Service subnet",
"description": "Demo subnet",
"type": "subnet",
"address": "192.0.2.0/24",
"groups": [
"demo-group"
],
"enabled": true
}
],
"sources": [
"https://docs.netbird.io/api/resources/networks"
]
}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, connections and integration setup.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
../OpenNodeFlow-Library/work/catalog-all.mjs../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjsshared/seed.tsshared/storage-library.tsshared/variable-library.tsshared/control-flow.tsshared/remote-routes.tsserver/runtime-library.tsshared/error-library.tsshared/storage-model.tsshared/builtin-documentation.ts