GET /accounts/{account_id}/billable-usage
Returns billable usage data for the account. When no query parameters are provided, returns usage for the current billing period.
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). |
from |
String | No |
Start date for the usage query (ISO 8601). The provided time range must include the subscription billing cycle anchor day, otherwise no usage data is returned. Use the info endpoint to retrieve the subscription anchor day. |
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.