GET
/
v3
/
scans
/
usages
/
history
curl --request GET \
  --url 'https://api.copyleaks.com/v3/scans/usages/history?start=01-01-2020&end=31-01-2020' \
  --header 'Authorization: Bearer YOUR_LOGIN_TOKEN'
CSV file attached to the response.
curl --request GET \
  --url 'https://api.copyleaks.com/v3/scans/usages/history?start=01-01-2020&end=31-01-2020' \
  --header 'Authorization: Bearer YOUR_LOGIN_TOKEN'
CSV file attached to the response.
This endpoint allows you to export your usage history between two dates. The output results will be exported to a csv file and it will be attached to the response.
Authentication Required. You need to login with a user and API key in order to access this method. Add this HTTP header to your request:Authorization: Bearer <Your-Login-Token>

Request

Query Parameters

start
string
required
The start date to collect usage history from.Format: dd-MM-yyyyExample: 01-01-2020
end
string
required
The end date to collect usage history from.Format: dd-MM-yyyyExample: 31-01-2020

Headers

Authorization: Bearer YOUR_LOGIN_TOKEN

Responses

200 OK - The data was exported. Example: csv file will be attached to the response.