Platform

Read the calling key's usage

Returns the total number of metered API calls made by the authenticated key plus its most recent usage events. One usage event is recorded per authenticated call.

get/v1/usage

Request

  • Base URL: https://api.numeratica.com
  • URL: https://api.numeratica.com/v1/usage
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Response

Usage summary

key_idstring
countinteger

Total metered calls by this key.

Example response

{
  "key_id": "key_ab12cd34",
  "count": 42,
  "recent": [
    {
      "method": "POST",
      "path": "/v1/tvm",
      "status": 200
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.