How do I export my ClearRun usage as a CSV?
On the billing page, choose Download CSV under Usage history. You get clearrun-usage.csv with up to your 5,000 most recent paid calls.
Last updated
Steps
Open Usage history
Choose Download CSV
The file is
clearrun-usage.csv.
Columns
timestamp, kind, credits, verdictId, apiKeyLabel, apiKeyPrefix, verifyPath. verifyPath is the public lookup path for that verdict.
More than 5,000 rows
Use the API. The CSV response sets an X-Next-Cursor header when there are more:
curl -s -D - "https://api.clearrun.net/api/usage?format=csv" \
-H "Authorization: Bearer $CLEARRUN_API_KEY" -o clearrun-usage.csv
Pass cursor= with that value to get the next part.