API → API CallsGet API call metrics
hidden

Parameters

Name

Type

Req.

  • group_by

    string
    required
    Possible values
    • email:  The email of the user that requested the API call.
    • method:  The HTTP method of the API call.
    • endpoint:  The endpoint of the API call.
    • user_id:  The user ID of the user that requested the API call.
    • origin:  The origin of the API call. This is parsed from the `Origin` header.
    • ip_address:  The IP address of the user making the API call.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    array
    optional
    Array of
get
/api-call-metrics
$ curl "https://api.zoo.dev/api-call-metrics" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
[
  {
    "count": 8,
    "query": "HmKwkAzZzy69JSe"
  }
]