Skip to main content

latency

Creates, updates, deletes, gets or lists a latency resource.

Overview

Namelatency
TypeResource
Idcloudflare.zones.latency

Fields

The following fields are returned by SELECT queries:

Argo Analytics for a zone response

NameDatatypeDescription
errorsarray
messagesarray
resultobject
successbooleanWhether the API call was successful (true)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idbinsRetrieves aggregate Argo Smart Routing analytics for a zone, including latency improvements, bandwidth savings, and routing statistics.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.
binsstring

SELECT examples

Retrieves aggregate Argo Smart Routing analytics for a zone, including latency improvements, bandwidth savings, and routing statistics.

SELECT
errors,
messages,
result,
success
FROM cloudflare.zones.latency
WHERE zone_id = '{{ zone_id }}' -- required
AND bins = '{{ bins }}'
;