Get Verifications
Retrieve usage data from unkey to power your dashboards, reports or usage-based billing.
To use this function, your root key must have the api.*.read_api permission
.
Request
Select the API. Only keys belonging to this API will be included.
Filtering by externalId allows you to narrow down the search to a specific user or organisation.
Only include data for a specific key or keys.
When you are providing zero or more than one key ids, all usage counts are aggregated and summed up. Send multiple requests with one keyId each if you need counts per key.
Only include data for a specific tag or tags.
When you are providing zero or more than one tag, all usage counts are aggregated and summed up. Send multiple requests with one tag each if you need counts per tag.
The start of the period to fetch usage for as unix milliseconds timestamp.
The end of the period to fetch usage for as unix milliseconds timestamp.
By default, datapoints are not aggregated, however you probably want to get a breakdown per time, key or identity.
Grouping by tags and by tag is mutually exclusive.
Limit the number of returned datapoints. This may become useful for querying the top 10 identities based on usage.
Sort the output by a specific value. You can use this in combination with the order param.
Define the order of sorting. Use this in combination with orderBy
Response
Total number of verifications in the current time slice, regardless of outcome.
Unix timestamp in milliseconds of the start of the current time slice.
Total number of valid verifications in the current time slice
Total number of not found responses in the current time slice
Total number of forbidden requests in the current time slice
Total number of usage exceeded verifications in the current time slice
Total number of rateLimited verifications in the current time slice
Total number of unauthorized verifications in the current time slice
Total number of disabled verifications in the current time slice
Total number of insufficient permissions verifications in the current time slice
Total number of expired verifications in the current time slice
Only available when grouping by tag.
Only available when grouping by tag.
Only available when specifying groupBy=key in the query. In this case there would be one datapoint per time and groupBy target.
Only available when specifying groupBy=identity in the query. In this case there would be one datapoint per time and groupBy target.