Skip to main content

stats

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

Overview​

Namestats
TypeResource
Idcloudflare.images.stats

Fields​

The following fields are returned by SELECT queries:

Images usage statistics response

NameDatatypeDescription
countobject

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idFetch image statistics details for Cloudflare Images. The returned statistics detail storage usage, including the current image count vs this account's allowance.

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
account_idstringThe Cloudflare account ID.

SELECT examples​

Fetch image statistics details for Cloudflare Images. The returned statistics detail storage usage, including the current image count vs this account's allowance.

SELECT
count
FROM cloudflare.images.stats
WHERE account_id = '{{ account_id }}' -- required
;