curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/subscriptions/{subscriptionId}/usage \
--header 'Authorization: <api-key>'
{
"usage": {
"id": "kl1g9",
"currentPeriodStart": "2024-08-01T13:50:48.988681Z",
"currentPeriodEnd": "2025-08-01T13:50:48.988681Z",
"stubCalledCount": 22309,
"exportCalledCount": 30,
"organisationMemberCount": 15,
"invitationCount": 0,
"seatLimit": null,
"totalMockApiCount": 158,
"totalDataSourceCount": 9,
"totalDatabaseConnectionCount": 2,
"ownMockApiCount": 0,
"teamMockApiCount": 0,
"collaboratorCount": 0,
"totalSeatCount": 15,
"teamMemberCount": 15,
"totalTeamCount": 15
}
}
Get product usage for the current billing period for a subscription
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/subscriptions/{subscriptionId}/usage \
--header 'Authorization: <api-key>'
{
"usage": {
"id": "kl1g9",
"currentPeriodStart": "2024-08-01T13:50:48.988681Z",
"currentPeriodEnd": "2025-08-01T13:50:48.988681Z",
"stubCalledCount": 22309,
"exportCalledCount": 30,
"organisationMemberCount": 15,
"invitationCount": 0,
"seatLimit": null,
"totalMockApiCount": 158,
"totalDataSourceCount": 9,
"totalDatabaseConnectionCount": 2,
"ownMockApiCount": 0,
"teamMockApiCount": 0,
"collaboratorCount": 0,
"totalSeatCount": 15,
"teamMemberCount": 15,
"totalTeamCount": 15
}
}
200 response
The response is of type object
.