GET
/
v1
/
subscriptions
/
{subscriptionId}
/
usage
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/subscriptions/{subscriptionId}/usage \
  --header 'Authorization: Basic <encoded-value>'
{
  "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
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

subscriptionId
string
required

Response

200
application/json
200 response
usage
object
required