Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ add a news fragment under `changelog.d/` for every user-facing change. See

<!-- towncrier release notes start -->

## 4.6.1b1 (2026-10-21)

### Fixed

- Extended `test_all_api_sections_initialized` to cover all 22 registered categories (previously only 10), closing the test-coverage gap intentionally left open by #485. ([#497](https://github.com/meraki/dashboard-api-python/issues/497))


## 4.5.0b4 (2026-09-30)

### Fixed
Expand Down
1 change: 0 additions & 1 deletion changelog.d/497.fixed.md

This file was deleted.

6 changes: 6 additions & 0 deletions docs/generation-report.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Generation Report

## 2026-10-21 | Library v4.6.1b1 | API 1.75.1-beta.1


No Python keyword parameter conflicts detected.


## 2026-10-17 | Library v4.6.1b0 | API 1.75.1-beta.0


Expand Down
2 changes: 1 addition & 1 deletion meraki/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
from meraki.exceptions import APIError, APIKeyError, APIResponseError, AsyncAPIError
from meraki.rest_session import RestSession

__api_version__ = "1.75.1-beta.0"
__api_version__ = "1.75.1-beta.1"

__all__ = [
"APIError",
Expand Down
2 changes: 1 addition & 1 deletion meraki/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.6.1b0"
__version__ = "4.6.1b1"
8 changes: 4 additions & 4 deletions meraki/aio/api/appliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ def getNetworkAppliancePorts(self, networkId: str):

def createNetworkAppliancePortsRadiusServer(self, networkId: str, **kwargs):
"""
**Create a shared MX port RADIUS server for a network**
**Create a shared Security Appliance or Secure Router port RADIUS server for a network**
https://developer.cisco.com/meraki/api-v1/#!create-network-appliance-ports-radius-server

- networkId (string): Network ID
Expand Down Expand Up @@ -1338,7 +1338,7 @@ def createNetworkAppliancePortsRadiusServer(self, networkId: str, **kwargs):

def updateNetworkAppliancePortsRadiusServer(self, networkId: str, serverId: str, **kwargs):
"""
**Update a shared MX port RADIUS server for a network**
**Update a shared Security Appliance or Secure Router port RADIUS server for a network**
https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-ports-radius-server

- networkId (string): Network ID
Expand Down Expand Up @@ -1377,7 +1377,7 @@ def updateNetworkAppliancePortsRadiusServer(self, networkId: str, serverId: str,

def deleteNetworkAppliancePortsRadiusServer(self, networkId: str, serverId: str):
"""
**Delete a network-owned shared MX port RADIUS server**
**Delete a network-owned shared Security Appliance or Secure Router port RADIUS server**
https://developer.cisco.com/meraki/api-v1/#!delete-network-appliance-ports-radius-server

- networkId (string): Network ID
Expand Down Expand Up @@ -4665,7 +4665,7 @@ def getOrganizationApplianceInterfacesPacketsOverviewsByDevice(

def getOrganizationAppliancePortsRadiusByNetwork(self, organizationId: str, total_pages=1, direction="next", **kwargs):
"""
**List MX appliance port RADIUS settings by network**
**List Security Appliance and Secure Router port RADIUS settings by network**
https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-ports-radius-by-network

- organizationId (string): Organization ID
Expand Down
32 changes: 16 additions & 16 deletions meraki/aio/api/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ def createAdministeredAssistantChatCompletion(self, **kwargs):
- query (string): Simple text question or instruction to send to the AI assistant. Provide either 'query' for text-only requests or 'content' for multi-modal input.
- content (array): List of multi-modal content blocks. Use instead of 'query' to send text or images. Supports text and image types only; for audio and file support, use the messages endpoint. Maximum 8 parts.
- threadId (string): Existing persisted thread ID to continue synchronously. If omitted, the request is handled as a one-off invocation and the response will not include a reusable thread ID.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Case-insensitive.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Values are matched case-insensitively.
- language (string): Optional language override. Defaults to the user's preferred language.
- country (string): Optional country override. Defaults to the user's country.
"""

kwargs.update(locals())

if "platform" in kwargs:
options = ["DIGITAL_TWIN", "DNAC", "MERAKI", "digital_twin", "dnac", "meraki"]
options = ["DIGITAL_TWIN", "DNAC", "MERAKI"]
assert kwargs["platform"] in options, (
f'''"platform" cannot be "{kwargs["platform"]}", & must be set to one of: {options}'''
)
Expand Down Expand Up @@ -61,7 +61,7 @@ def getAdministeredAssistantChatThreads(self, total_pages=1, direction="next", *
- total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages
- direction (string): direction to paginate, either "next" (default) or "prev" page
- perPage (integer): Number of entries per page. Defaults to 100. Maximum 1000.
- sort (string): Field to sort results by. Defaults to dateModified.
- sort (string): Field to sort results by. Defaults to updatedAt.
- sortOrder (string): Sort direction for results. Defaults to desc.
- from (string): Filter threads modified after this timestamp.
- to (string): Filter threads modified before this timestamp.
Expand All @@ -70,7 +70,7 @@ def getAdministeredAssistantChatThreads(self, total_pages=1, direction="next", *
kwargs.update(locals())

if "sort" in kwargs:
options = ["dateModified", "id", "name"]
options = ["id", "name", "updatedAt"]
assert kwargs["sort"] in options, f'''"sort" cannot be "{kwargs["sort"]}", & must be set to one of: {options}'''
if "sortOrder" in kwargs:
options = ["asc", "desc"]
Expand Down Expand Up @@ -248,14 +248,14 @@ def createAdministeredAssistantChatThreadMessage(self, threadId: str, content: l
https://developer.cisco.com/meraki/api-v1/#!create-administered-assistant-chat-thread-message

- threadId (string): Thread ID
- content (array): List of message content parts. Supports text, image, audio, and file types. Maximum 8 parts.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Case-insensitive.
- content (array): List of message content parts. A 'text' part sets 'text'; 'image', 'audio' and 'file' parts set 'source'. Maximum 8 parts.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Values are matched case-insensitively.
"""

kwargs.update(locals())

if "platform" in kwargs:
options = ["DIGITAL_TWIN", "DNAC", "MERAKI", "digital_twin", "dnac", "meraki"]
options = ["DIGITAL_TWIN", "DNAC", "MERAKI"]
assert kwargs["platform"] in options, (
f'''"platform" cannot be "{kwargs["platform"]}", & must be set to one of: {options}'''
)
Expand Down Expand Up @@ -329,15 +329,15 @@ def createOrganizationAssistantChatCompletion(self, organizationId: str, **kwarg
- content (array): List of multi-modal content blocks. Use instead of 'query' to send text or images. Supports text and image types only; for audio and file support, use the messages endpoint. Maximum 8 parts.
- threadId (string): Existing persisted thread ID to continue synchronously. If omitted, the request is handled as a one-off invocation and the response will not include a reusable thread ID.
- networkId (string): Optional network ID to scope the query to a specific network. Defaults to the user's last visited network.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Case-insensitive.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Values are matched case-insensitively.
- language (string): Optional language override. Defaults to the user's preferred language.
- country (string): Optional country override. Defaults to the user's country.
"""

kwargs.update(locals())

if "platform" in kwargs:
options = ["DIGITAL_TWIN", "DNAC", "MERAKI", "digital_twin", "dnac", "meraki"]
options = ["DIGITAL_TWIN", "DNAC", "MERAKI"]
assert kwargs["platform"] in options, (
f'''"platform" cannot be "{kwargs["platform"]}", & must be set to one of: {options}'''
)
Expand Down Expand Up @@ -379,7 +379,7 @@ def getOrganizationAssistantChatThreads(self, organizationId: str, total_pages=1
- total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages
- direction (string): direction to paginate, either "next" (default) or "prev" page
- perPage (integer): Number of entries per page. Defaults to 100. Maximum 1000.
- sort (string): Field to sort results by. Defaults to dateModified.
- sort (string): Field to sort results by. Defaults to updatedAt.
- sortOrder (string): Sort direction for results. Defaults to desc.
- from (string): Filter threads modified after this timestamp.
- to (string): Filter threads modified before this timestamp.
Expand All @@ -388,7 +388,7 @@ def getOrganizationAssistantChatThreads(self, organizationId: str, total_pages=1
kwargs.update(locals())

if "sort" in kwargs:
options = ["dateModified", "id", "name"]
options = ["id", "name", "updatedAt"]
assert kwargs["sort"] in options, f'''"sort" cannot be "{kwargs["sort"]}", & must be set to one of: {options}'''
if "sortOrder" in kwargs:
options = ["asc", "desc"]
Expand Down Expand Up @@ -580,16 +580,16 @@ def createOrganizationAssistantChatThreadMessage(self, organizationId: str, thre

- organizationId (string): Organization ID
- threadId (string): Thread ID
- content (array): List of message content parts. Supports text, image, audio, and file types. Maximum 8 parts.
- content (array): List of message content parts. A 'text' part sets 'text'; 'image', 'audio' and 'file' parts set 'source'. Maximum 8 parts.
- networkName (string): Name of the target network.
- networkId (string): Optional Meraki network ID for thread context.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Case-insensitive.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Values are matched case-insensitively.
"""

kwargs.update(locals())

if "platform" in kwargs:
options = ["DIGITAL_TWIN", "DNAC", "MERAKI", "digital_twin", "dnac", "meraki"]
options = ["DIGITAL_TWIN", "DNAC", "MERAKI"]
assert kwargs["platform"] in options, (
f'''"platform" cannot be "{kwargs["platform"]}", & must be set to one of: {options}'''
)
Expand Down Expand Up @@ -653,7 +653,7 @@ def getOrganizationAssistantChatThreadMessageArtifacts(
- messageId (string): Message ID
- total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages
- direction (string): direction to paginate, either "next" (default) or "prev" page
- perPage (integer): Number of entries per page. Defaults to 100.
- perPage (integer): Number of entries per page. Defaults to 100. Maximum 100.
- offset (integer): Number of artifacts to skip before returning results. Defaults to 0.
"""

Expand Down Expand Up @@ -756,7 +756,7 @@ def createOrganizationAssistantChatThreadMessageFeedback(
self, organizationId: str, threadId: str, messageId: str, vote: bool, **kwargs
):
"""
**Submit or replace feedback for a specific assistant message.**
**Record a feedback entry for a specific assistant message**
https://developer.cisco.com/meraki/api-v1/#!create-organization-assistant-chat-thread-message-feedback

- organizationId (string): Organization ID
Expand Down
12 changes: 8 additions & 4 deletions meraki/aio/api/organizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -13746,8 +13746,9 @@ def createOrganizationRoutingVrf(self, organizationId: str, name: str, **kwargs)
- organizationId (string): Organization ID
- name (string): The name of the VRF (Virtual Routing and Forwarding)
- description (string): Description of the VRF (Virtual Routing and Forwarding)
- autoRd (boolean): Whether the VRF is auto RD
- routeDistinguisher (string): RD (Route Distinguisher) for the VRF (Virtual Routing and Forwarding)
- routeTarget (string): Route target are used to control the import and export of routes between VRFs
- routeTargets (object): Import and export route targets for the VRF
- appliance (object): This parameter is used to enable or disable the VRF on the WAN appliance
"""

Expand All @@ -13763,8 +13764,9 @@ def createOrganizationRoutingVrf(self, organizationId: str, name: str, **kwargs)
body_params = [
"name",
"description",
"autoRd",
"routeDistinguisher",
"routeTarget",
"routeTargets",
"appliance",
]
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}
Expand Down Expand Up @@ -13827,8 +13829,9 @@ def updateOrganizationRoutingVrf(self, organizationId: str, vrfId: str, **kwargs
- vrfId (string): Vrf ID
- name (string): The name of the VRF (Virtual Routing and Forwarding)
- description (string): Description of the VRF (Virtual Routing and Forwarding)
- autoRd (boolean): Whether the VRF is auto RD
- routeDistinguisher (string): RD (Route Distinguisher) for the VRF (Virtual Routing and Forwarding)
- routeTarget (string): Route target are used to control the import and export of routes between VRFs
- routeTargets (object): Import and export route targets for the VRF
- appliance (object): This parameter is used to enable or disable the VRF on the WAN appliance
"""

Expand All @@ -13845,8 +13848,9 @@ def updateOrganizationRoutingVrf(self, organizationId: str, vrfId: str, **kwargs
body_params = [
"name",
"description",
"autoRd",
"routeDistinguisher",
"routeTarget",
"routeTargets",
"appliance",
]
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}
Expand Down
4 changes: 2 additions & 2 deletions meraki/aio/api/spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def updateNetworkSpacesAuth(self, networkId: str, **kwargs):

return self._session.put(metadata, resource, payload)

def createNetworkSpacesSitesBuilding(self, networkId: str, name: str, **kwargs):
def createNetworkSpacesSitesBuilding(self, networkId: str, name: str, bounds: dict, **kwargs):
"""
**Create a new building**
https://developer.cisco.com/meraki/api-v1/#!create-network-spaces-sites-building
Expand All @@ -47,7 +47,7 @@ def createNetworkSpacesSitesBuilding(self, networkId: str, name: str, **kwargs):
- bounds (object): Geographic bounding box for the building, expressed as north-east and south-west corner coordinates.
"""

kwargs.update(locals())
kwargs = locals()

metadata = {
"tags": ["spaces", "configure", "sites", "buildings"],
Expand Down
4 changes: 3 additions & 1 deletion meraki/aio/api/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2507,6 +2507,7 @@ def updateNetworkSwitchSettings(self, networkId: str, **kwargs):
- powerExceptions (array): Exceptions on a per switch basis to "useCombinedPower"
- uplinkClientSampling (object): Uplink client sampling
- macBlocklist (object): MAC blocklist
- clientTracking (object): Client tracking settings.
- portChannelFallback (boolean): Port channel fallback
- uplinkSelection (object): Settings related to uplink selection on IOS-XE switches.
"""
Expand All @@ -2526,6 +2527,7 @@ def updateNetworkSwitchSettings(self, networkId: str, **kwargs):
"powerExceptions",
"uplinkClientSampling",
"macBlocklist",
"clientTracking",
"portChannelFallback",
"uplinkSelection",
]
Expand Down Expand Up @@ -4267,7 +4269,7 @@ def getOrganizationSwitchDevicesSoftwareUpdateStatusesByDevice(
- updateResults (array): Exact items[].update.status.result.value filters using inclusive OR, normalized case-insensitively to the canonical enum value. Omit for no terminal-result restriction. Terminal-result values: succeeded, skipped, canceled, or failed. The value is null until the update completes. No default is implied.
- currentVersionShortNames (array): Exact, case-sensitive currentVersion.shortName filters using inclusive OR. Omit for no current-version name restriction; maximum 100.
- models (array): Exact, case-sensitive device.model filters using inclusive OR. Omit for no model restriction; maximum 100.
- sortKey (string): Sort key: currentVersion orders currentVersion.shortName; device orders device.name with serial fallback; isUpdateAvailable orders false before true when ascending; model orders device.model; network orders network.name; updateStatus uses this semantic order when ascending: idle, upgrade-scheduled, upgrade-retry-scheduled, checking-in, download-started, download-complete, install-started, verification-started, upgrade-complete, upgrade-skipped, upgrade-canceled, upgrade-failed. Terminal items are then ordered by result: succeeded, skipped, canceled, then failed. Ties are resolved by device.serial. Defaults to device.
- sortKey (string): Sort key: currentVersion orders currentVersion.shortName; device orders device.name with serial fallback; isUpdateAvailable orders false before true when ascending; model orders device.model; network orders network.name; updateStatus uses this semantic order when ascending: idle, upgrade-scheduled, upgrade-retry-scheduled, checking-in, checked-in, download-started, download-complete, install-started, verification-started, upgrade-complete, upgrade-skipped, upgrade-canceled, upgrade-failed. Terminal items are then ordered by result: succeeded, skipped, canceled, then failed. Ties are resolved by device.serial. Defaults to device.
"""

kwargs.update(locals())
Expand Down
Loading
Loading