GET /accounts/{account_id}/billing/usage/paygo
Returns billable usage data for PayGo (self-serve) accounts. When no query parameters are provided, returns usage for the current billing period. This endpoint is currently in beta and access is restricted to select accounts.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Identifies the account. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
to |
String | No |
Defines the end date for the usage query (e.g., 2025-03-01). |
from |
String | No |
Defines the start date for the usage query (e.g., 2025-02-01). |
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.