API key stats
List API key stats
Get a list of API key stats information.
const response = await geocore.ApiKeyStats.apiStatsList({
apiKey: "apiKeyId",
startDate: "2025-01-01",
endDate: "2025-01-01",
page: 1,
limit: 10,
});
Prerequisites
Successfully get the IdToken with companyAdmin or superAdmin access level from login API.
Parameters
name type data type description apiKey required string API key ID to get stats startDate required string Search by API timestamps endDate required string Search by API timestamps page required number Page ordinal number limit required number Number of records per page
API key stats chart
Get API key stats chart information.
const response = await geocore.ApiKeyStats.reportStats({
apiKey: "apiKeyId",
startDate: "2025-01-01",
endDate: "2025-01-01",
groupBy: "month"
});
Prerequisites
Successfully get the IdToken with companyAdmin or superAdmin access level from login API.
Parameters
name type data type description apiKey required string API key ID to get stats startDate required string Search by API timestamps endDate required string Search by API timestamps groupBy required string Count stats by dayormonth