Actions14
- PPPoE Actions
- Hotspot Actions
- Queue/Bandwidth Actions
- Interface Actions
- Router Actions
Interface → Get Interfaces
AI-generatedSummary
Retrieve a list of network interfaces from a specified MikroTik router through the middleware API.
Inputs
- Router Name (required) — The configured name of the router to query.
- Limit — Optional maximum number of interface records to return; defaults to 100.
- Timeout — Optional request timeout in seconds; defaults to 30 seconds.
Output shape
a list of interface objects
The output contains a JSON field 'interfaces' with an array of interface details from the router. The number of items is capped by the optional 'Limit' parameter. If an error occurs, the node outputs an error message or throws depending on failure mode settings.
Examples
Example 1: Get up to 50 interfaces from 'main-router' with a 20 second timeout.
Set 'Router Name' to 'main-router', 'Limit' to 50, and 'Timeout' to 20.