stats
Creates, updates, deletes, gets or lists a stats resource.
Overview
| Name | stats |
| Type | Resource |
| Id | cloudflare.images.stats |
Fields
The following fields are returned by SELECT queries:
- list
Images usage statistics response
| Name | Datatype | Description |
|---|---|---|
count | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Fetch 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
SELECT examples
- list
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
;