cURL
curl --request GET \ --url https://api.valyx.com/billing/usageDriver/filter \ --header 'X-Valyx-Signature: <x-valyx-signature>'
{ "error": "<string>", "message": "<string>", "data": { "totalDocs": 123, "hasNext": true, "hasPrev": true, "pageNumber": 123, "pageSize": 123, "totalPages": 123, "docs": [ {} ], "prevPageNumber": 123, "nextPageNumber": 123 } }
Auth key to authenticate the request
Name of the usage driver
Description of the usage driver
Unit of the usage driver
Success
Error message, if any occurred while fetching the paginated data. Null if the request was successful.
Informational message regarding the response.
Show child attributes
Total number of documents/items available across all pages.
True if there is a next page available.
True if there is a previous page available.
Current page number (1-indexed).
Number of items per page.
Total number of pages available.
Array of items on the current page.
Page number of the previous page. Null if current page is the first page.
Page number of the next page. Null if current page is the last page.