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'
from copyleaks.copyleaks import Copyleaks
auth_token = Copyleaks.login("[email protected]", "YOUR_API_KEY")
csv_history = Copyleaks.usages_history_csv(auth_token, "01-01-2020", "31-01-2020")
print(csv_history)
CSV file attached to the response.
Admin
Usage History
Get your usage history between two dates.
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'
from copyleaks.copyleaks import Copyleaks
auth_token = Copyleaks.login("[email protected]", "YOUR_API_KEY")
csv_history = Copyleaks.usages_history_csv(auth_token, "01-01-2020", "31-01-2020")
print(csv_history)
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'
from copyleaks.copyleaks import Copyleaks
auth_token = Copyleaks.login("[email protected]", "YOUR_API_KEY")
csv_history = Copyleaks.usages_history_csv(auth_token, "01-01-2020", "31-01-2020")
print(csv_history)
CSV file attached to the response.
Request
Query Parameters
Headers
Authorization: Bearer YOUR_LOGIN_TOKEN

