GET /accounts/{account_id}/paygo-usage
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 alpha and access is restricted to select accounts. While in alpha, the endpoint may get breaking changes.
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). |
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.