Authenticity
Usage History
GET https://api.copyleaks.com/v3/scans/usages/history
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.
Request
Section titled “Request”Query Parameters
Section titled “Query Parameters” start string required
The start date to collect usage history from.
Format: dd-MM-yyyy
Example: 01-01-2020
end string required
The end date to collect usage history from.
Format: dd-MM-yyyy
Example: 31-01-2020
Headers
Section titled “Headers”Authorization: Bearer YOUR_LOGIN_TOKEN
Responses
Section titled “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.
Example Response
A typical response from this endpoint:
Value cannot be null. (Parameter ''end' time is missing')
401 Unauthorized
Authorization has been denied for this request.
Example Response
A typical response from this endpoint:
{ "type": "https://tools.ietf.org/html/rfc9110#section-15.5.2", "title": "Unauthorized", "status": 401, "traceId": "00-ef0db7690ced98431ac97782051edc77-2c4194d74ae6c08b-00"}
Examples
Section titled “Examples”GET https://api.copyleaks.com/v3/scans/usages/history?start=01-01-2020&end=31-01-2020Authorization: Bearer YOUR_LOGIN_TOKEN
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'