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
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-11-04 | Library v4.7.0b0 | API 1.76.0-beta.0


No Python keyword parameter conflicts detected.


## 2026-10-28 | Library v4.6.1b2 | API 1.75.1-beta.2


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.2"
__api_version__ = "1.76.0-beta.0"

__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.1b2"
__version__ = "4.7.0b0"
22 changes: 12 additions & 10 deletions meraki/aio/api/appliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def updateNetworkApplianceAlternateManagementInterface(self, networkId: str, **k
- enabled (boolean): Whether the alternate management interface is enabled
- primary (object): Primary alternate management interface addresses
- addressPool (object): Address pool reserved for alternate management interface addresses
- vrf (object): VRF assignment for the alternate management interface. This beta operation currently ignores the requested VRF ID and always uses the default VRF.
- vrf (object): VRF assignment for the alternate management interface. Omit this field to preserve an existing assignment; when enabling AMI without an existing assignment, omission uses the default. Send null or ID 0 to use the default. Non-default VRFs must be supported for this Catalyst Router network.
"""

kwargs.update(locals())
Expand Down Expand Up @@ -2692,6 +2692,7 @@ def updateNetworkApplianceTrafficShapingVpnExclusions(self, networkId: str, **kw
- custom (array): Custom VPN exclusion rules. Pass an empty array to clear existing rules.
- majorApplications (array): Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.
- applications (array): NBAR application-based VPN exclusion rules. The documented example is a Secure Router NBAR catalog entry. On Secure Router networks, the ID and name must identify the same enabled NBAR application; traffic-shaping application IDs are not interchangeable. Available for networks on firmware >= 19.2.
- applicationCategoryMapping (object): Options for mapping configured majorApplications to application categories.
"""

kwargs.update(locals())
Expand All @@ -2707,6 +2708,7 @@ def updateNetworkApplianceTrafficShapingVpnExclusions(self, networkId: str, **kw
"custom",
"majorApplications",
"applications",
"applicationCategoryMapping",
]
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}

Expand Down Expand Up @@ -3388,14 +3390,14 @@ def updateNetworkApplianceVpnBgp(self, networkId: str, enabled: bool, **kwargs):

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

def updateNetworkApplianceVpnSiteToSiteHubVrfs(self, networkId: str, hubNetworkId: str, _json: list, **kwargs):
def updateNetworkApplianceVpnSiteToSiteHubVrfs(self, networkId: str, hubNetworkId: str, vrfs: list, **kwargs):
"""
**Update the VRF mappings for a source network and hub pair.**
**Replace the complete VRF mapping for a source network and hub pair**
https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vpn-site-to-site-hub-vrfs

- networkId (string): Network ID
- hubNetworkId (string): Hub network ID
- _json (array): The list of VRFs for this source and hub mapping.
- vrfs (array): The list of VRFs for this source and hub mapping.
"""

kwargs = locals()
Expand All @@ -3409,7 +3411,7 @@ def updateNetworkApplianceVpnSiteToSiteHubVrfs(self, networkId: str, hubNetworkI
resource = f"/networks/{networkId}/appliance/vpn/siteToSite/hubs/{hubNetworkId}/vrfs"

body_params = [
"_json",
"vrfs",
]
payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params}

Expand All @@ -3425,7 +3427,7 @@ def updateNetworkApplianceVpnSiteToSiteHubVrfs(self, networkId: str, hubNetworkI

def getNetworkApplianceVpnSiteToSiteVpn(self, networkId: str):
"""
**Return the site-to-site VPN settings of a network**
**Return the site-to-site VPN settings of an MX network or configuration template.**
https://developer.cisco.com/meraki/api-v1/#!get-network-appliance-vpn-site-to-site-vpn

- networkId (string): Network ID
Expand All @@ -3442,15 +3444,15 @@ def getNetworkApplianceVpnSiteToSiteVpn(self, networkId: str):

def updateNetworkApplianceVpnSiteToSiteVpn(self, networkId: str, mode: str, **kwargs):
"""
**Update the site-to-site VPN settings of a network**
**Update the site-to-site VPN settings of an MX network or configuration template in NAT mode**
https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vpn-site-to-site-vpn

- networkId (string): Network ID
- mode (string): The site-to-site VPN mode. Can be one of 'none', 'spoke' or 'hub'
- changesConfirmed (boolean): Whether to accept the confirmation warnings for these changes. Defaults to false.
- confirmed (boolean): Whether to accept the confirmation warnings for these changes. Defaults to true, which accepts confirmation warnings and preserves the existing update behavior. Set to false to opt in to confirmation warnings. Review the warnings returned in confirmations, then retry with confirmed: true to accept them. Fatal errors must be corrected before retrying.
- natTraversal (object): NAT traversal settings. Omit to leave the existing setting unchanged.
- hubs (array): The list of VPN hubs, in order of preference. In spoke mode, at least 1 hub is required.
- subnets (array): The list of subnets and their VPN presence.
- subnets (array): The list of local VPN subnets and their VPN presence. VLAN entries include vlanId and subnetting where applicable. When the corresponding NFO is enabled, NAT settings are returned for every VLAN; non-VLAN entries omit vlanId, subnetting, and nat.legacy.
- peerSgtCapable (boolean): Whether or not Peer SGT is enabled for traffic to this VPN peer.
- sgt (object): Security Group Tag settings for the VPN peer.
- subnet (object): Configuration of subnet features
Expand All @@ -3471,7 +3473,7 @@ def updateNetworkApplianceVpnSiteToSiteVpn(self, networkId: str, mode: str, **kw
resource = f"/networks/{networkId}/appliance/vpn/siteToSiteVpn"

body_params = [
"changesConfirmed",
"confirmed",
"mode",
"natTraversal",
"hubs",
Expand Down
8 changes: 4 additions & 4 deletions meraki/aio/api/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def createAdministeredAssistantChatCompletion(self, **kwargs):
https://developer.cisco.com/meraki/api-v1/#!create-administered-assistant-chat-completion

- 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.
- content (array): List of multi-modal content blocks. Use instead of 'query' to send text or images. Maximum 8 parts and 4 total images. Each image must be at most 10 MiB decoded.
- 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. Values are matched case-insensitively.
- language (string): Optional language override. Defaults to the user's preferred language.
Expand Down Expand Up @@ -248,7 +248,7 @@ 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. A 'text' part sets 'text'; 'image', 'audio' and 'file' parts set 'source'. Maximum 8 parts.
- content (array): List of message content parts. A 'text' part sets 'text'; an 'image' part sets 'source'. Maximum 8 parts; each image must be at most 10 MiB decoded. There is no separate four-image limit.
- platform (string): Platform identifier. Defaults to MERAKI when omitted. Values are matched case-insensitively.
"""

Expand Down Expand Up @@ -326,7 +326,7 @@ def createOrganizationAssistantChatCompletion(self, organizationId: str, **kwarg

- organizationId (string): Organization ID
- 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.
- content (array): List of multi-modal content blocks. Use instead of 'query' to send text or images. Maximum 8 parts and 4 total images. Each image must be at most 10 MiB decoded.
- 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. Values are matched case-insensitively.
Expand Down Expand Up @@ -580,7 +580,7 @@ def createOrganizationAssistantChatThreadMessage(self, organizationId: str, thre

- organizationId (string): Organization ID
- threadId (string): Thread ID
- content (array): List of message content parts. A 'text' part sets 'text'; 'image', 'audio' and 'file' parts set 'source'. Maximum 8 parts.
- content (array): List of message content parts. A 'text' part sets 'text'; an 'image' part sets 'source'. Maximum 8 parts; each image must be at most 10 MiB decoded. There is no separate four-image limit.
- 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. Values are matched case-insensitively.
Expand Down
2 changes: 2 additions & 0 deletions meraki/aio/api/nac.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ def getOrganizationNacClientsGroups(self, organizationId: str, total_pages=1, di
- endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
- search (string): Optional parameter to fuzzy search on client groups.
- groupIds (array): List of ids for specific group retrieval
- clientMac (string): MAC address of a client whose associated groups should be returned
- excludeMembers (boolean): When true, omit the items array from each client group's members association while preserving totalCount and nextLink metadata.
"""

Expand Down Expand Up @@ -819,6 +820,7 @@ def getOrganizationNacClientsGroups(self, organizationId: str, total_pages=1, di
"endingBefore",
"search",
"groupIds",
"clientMac",
"excludeMembers",
]
params = {k.strip(): v for k, v in kwargs.items() if k.strip() in query_params}
Expand Down
Loading
Loading