Retrieve Daily API Usage Copy
GET https://{{vaultDNS}}/api/{{version}}/logs/api_usage?date=YYYY-MM-DD
https://developer.veevavault.com/api/20.3/#retrieve-daily-api-usage
Retrieve the API Usage Log for a single day, up to 30 days in the past. The log contains information such as user name, user ID, remaining burst and daily limits, and the endpoint called. Users with the Admin > Logs > API Usage Logs permission can access these logs.
Note that the daily logs may have a delay of about 10 minutes. If your log does not include appropriate data, know that your data is not lost, it is just not yet populated.
The logs are designed for troubleshooting burst or daily limits, and discovering which of your integrations are causing you to hit these limits. These logs should not be used for auditing, as they are not designed with the appropriate level of restrictions. For example, if an API request fails to enter the usage log, the API call is not prevented from executing, which would be required if this log was designed for auditing. In rare cases an API call may not show up as an entry in the log, but know that all calls are accurately reflected in your burst and daily limit counts.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
date | string | ||
log_format | null | Optional: Specify the format to download. Possible values are csv or logfile. If omitted, defaults to csv. Note that this call always downloads a ZIP file. This parameter only changes the format of the file contained within the ZIP. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string |