---
title: Smart Routing
---

[Skip to content](#_top)

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

[Argo](https://developers.cloudflare.com/api/typescript/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/typescript/resources/argo/subresources/smart_routing/methods/get)

client.argo.smartRouting.get(SmartRoutingGetParams {zone\_id } params, RequestOptionsoptions?): [SmartRoutingGetResponse](<https://developers.cloudflare.com/api/typescript/resources/argo#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_get_response%20%3E%20(schema)>) {id, editable, value, modified\_on }

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

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

client.argo.smartRouting.edit(SmartRoutingEditParams {zone\_id, value } params, RequestOptionsoptions?): [SmartRoutingEditResponse](<https://developers.cloudflare.com/api/typescript/resources/argo#(resource)%20argo.smart_routing%20%3E%20(model)%20smart_routing_edit_response%20%3E%20(schema)>) {id, editable, value, modified\_on }

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

##### ModelsExpand Collapse

<details>

<summary>

SmartRoutingGetResponse {id, editable, value, modified\_on }

</summary>

id: string

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: boolean

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: "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?: string

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>

SmartRoutingEditResponse {id, editable, value, modified\_on }

</summary>

id: string

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: boolean

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: "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?: string

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)>)