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
The start date to collect usage history from.Format: dd-MM-yyyyExample: 01-01-2020
The end date to collect usage history from.Format: dd-MM-yyyyExample: 31-01-2020
Authorization: Bearer YOUR_LOGIN_TOKEN
Responses
200 OK - The data was exported. Example: csv file will be attached to the response.
400 Bad Request - Bad request. Wrong input parameters were provided.
401 Unauthorized - Authorization has been denied for this request.