---
title: Smart Routing
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Argo](https://developers.cloudflare.com/api/python/resources/argo)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Smart Routing

##### [Get Argo Smart Routing setting](https://developers.cloudflare.com/api/python/resources/argo/subresources/smart_routing/methods/get)

argo.smart\_routing.get(SmartRoutingGetParams\*\*kwargs) -> [SmartRoutingGetResponse](<https://developers.cloudflare.com/api/python/resources/argo#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)>)

GET/zones/{zone\_id}/argo/smart\_routing

##### [Patch Argo Smart Routing setting](https://developers.cloudflare.com/api/python/resources/argo/subresources/smart_routing/methods/edit)

argo.smart\_routing.edit(SmartRoutingEditParams\*\*kwargs) -> [SmartRoutingEditResponse](<https://developers.cloudflare.com/api/python/resources/argo#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)>)

PATCH/zones/{zone\_id}/argo/smart\_routing

##### ModelsExpand Collapse

<details>

<summary>

class SmartRoutingGetResponse: …

</summary>

id: str

Specifies the identifier of the Argo Smart Routing setting.

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

editable: bool

Specifies if the setting is editable.

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)%20%3E%20(property)%20editable">Link to this property</a>

<details>

<summary>

value: Literal\["on", "off"]

Specifies the enablement value of Argo Smart Routing.

</summary>

One of the following:

"on"

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(member)%200">Link to this property</a>

"off"

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)%20%3E%20(property)%20value">Link to this property</a>

modified\_on: Optional\[datetime]

Specifies the time when the setting was last modified.

formatdate-time

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)>)

<details>

<summary>

class SmartRoutingEditResponse: …

</summary>

id: str

Specifies the identifier of the Argo Smart Routing setting.

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

editable: bool

Specifies if the setting is editable.

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)%20%3E%20(property)%20editable">Link to this property</a>

<details>

<summary>

value: Literal\["on", "off"]

Specifies the enablement value of Argo Smart Routing.

</summary>

One of the following:

"on"

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(member)%200">Link to this property</a>

"off"

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)%20%3E%20(property)%20value%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)%20%3E%20(property)%20value">Link to this property</a>

modified\_on: Optional\[datetime]

Specifies the time when the setting was last modified.

formatdate-time

<a href="#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

</details>

[Link to this property](<#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)>)