---
updatedAt: 2026-06-19T13:07:52.000Z
agentTools:
  projectIndex: https://docs.sixfab.com/llms.txt
---

# Network Interface Priorities

Retrieve the current network interface priorities for the ALPON device.

**Possible Error Codes:**
- **AssetNotFound:** The asset with the specified ID was not found.
- **AssetNotAlponDevice:** The device is not an ALPON device.
- **NoNetworkInterfaces:** No network interfaces found for the device.

**Note:** Returned response values may not be sequential in the format of
1, 2, 3, etc. But when setting priorities, they should be sequential and
start from 1 as explained in the Set Network Interface Priorities endpoint.

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Sixfab Developer API",
    "contact": {
      "name": "Sixfab Inc.",
      "url": "https://sixfab.com",
      "email": "hello@sixfab.com"
    },
    "version": "0.1.0",
    "x-logo": {
      "url": "/logo"
    }
  },
  "servers": [
    {
      "url": "https://api.sixfab.com/v1"
    }
  ],
  "paths": {
    "/assets/{asset_id}/alpon/network/priority": {
      "get": {
        "tags": [
          "ALPON"
        ],
        "summary": "Network Interface Priorities",
        "description": "Retrieve the current network interface priorities for the ALPON device.\n\n**Possible Error Codes:**\n- **AssetNotFound:** The asset with the specified ID was not found.\n- **AssetNotAlponDevice:** The device is not an ALPON device.\n- **NoNetworkInterfaces:** No network interfaces found for the device.\n\n**Note:** Returned response values may not be sequential in the format of\n1, 2, 3, etc. But when setting priorities, they should be sequential and\nstart from 1 as explained in the Set Network Interface Priorities endpoint.",
        "operationId": "get_network_priorities_assets__asset_id__alpon_network_priority_get",
        "parameters": [
          {
            "description": "Serial Number, UUID, SIM SID or SIM ICCID",
            "required": true,
            "schema": {
              "title": "Asset Id",
              "type": "string",
              "description": "Serial Number, UUID, SIM SID or SIM ICCID"
            },
            "name": "asset_id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved network priorities",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NetworkPrioritiesResponseModel"
                },
                "example": {
                  "priorities": [
                    {
                      "name": "eth0",
                      "value": 1
                    },
                    {
                      "name": "usb0",
                      "value": 2
                    },
                    {
                      "name": "wlan0",
                      "value": 3
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Device is not an ALPON device",
            "content": {
              "application/json": {
                "example": {
                  "message": "Device is not an ALPON device",
                  "code": "AssetNotAlponDevice"
                }
              }
            }
          },
          "404": {
            "description": "No network interfaces found",
            "content": {
              "application/json": {
                "example": {
                  "message": "No network interfaces found for the device.",
                  "code": "NoNetworkInterfaces"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "title": "HTTPValidationError",
        "type": "object",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "NetworkPrioritiesResponseModel": {
        "title": "NetworkPrioritiesResponseModel",
        "required": [
          "priorities"
        ],
        "type": "object",
        "properties": {
          "priorities": {
            "title": "Priorities",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NetworkPriorityModel"
            },
            "description": "List of network interfaces with their priority values"
          }
        }
      },
      "NetworkPriorityModel": {
        "title": "NetworkPriorityModel",
        "required": [
          "name",
          "value"
        ],
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string",
            "description": "Network interface name"
          },
          "value": {
            "title": "Value",
            "type": "integer",
            "description": "Priority value for the interface"
          }
        }
      },
      "ValidationError": {
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "type": "object",
        "properties": {
          "loc": {
            "title": "Location",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  }
}
```