Query NetBox endpoint
malcolm_netbox_queryQuery any NetBox REST endpoint not covered by dedicated shortcuts via a read-only GET proxy.
Instructions
Query any NetBox REST endpoint via Malcolm's read-only GET proxy.
Use this as the general escape hatch for NetBox endpoints the shortcuts don't
cover (services, VLANs, interfaces, VMs, contacts, ...). For the common
ip/device/prefix lookups prefer `malcolm_netbox_lookup`; to list sites use
`malcolm_netbox_sites`. The path is validated to a NetBox app/model shape before
proxying. Returns the raw NetBox JSON response for the endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | NetBox API path in app/model form, no leading slash, no "..", no scheme/host. Examples: "ipam/services/" (port -> service), "ipam/vlans/", "dcim/interfaces/", "virtualization/virtual-machines/", "tenancy/contacts/" (asset owner). | |
| params | No | JSON object of query-string filters for the endpoint, e.g. {"port": "443"}, {"vid": "100"}, {"name": "vm-01"}. Empty object = no filters. | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |