GET /accounts/{account_id}/billable/usage
Returns cost and usage data for a single Cloudflare account, aligned with the FinOps FOCUS v1.3 Cost and Usage dataset specification.
Each record represents one billable metric for one account on one day. This includes all metered usage, including usage that falls within free-tier allowances and may result in zero cost.
Note: Cost and pricing fields are not yet populated and will be absent from responses until billing integration is complete.
When from and to are omitted, defaults to the start of the current
month through today. The maximum date range is 31 days.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Identifies the Cloudflare account. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
to |
String | No |
End date for the usage query (ISO 8601). Required if |
metric |
String | No |
Filter results by billable metric id (e.g., workers_standard_requests). |
from |
String | No |
Start date for the usage query (ISO 8601). Required if |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.