API → API CallsList API calls for a user
hidden

Parameters

Name

Type

Req.

  • id

    string
    required
  • limit

    integer
    optional
  • page_token

    string
    optional
  • sort_by

    string
    required
    Possible values
    • created_at_ascending:  Sort in increasing order of "created_at".
    • created_at_descending:  Sort in decreasing order of "created_at".

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • items

      array
      optional
      Array of
      • completed_at

        string / ISO-8601
        optional
      • created_at

        string / ISO-8601
        optional
      • duration

        integer / Duration
        optional
      • email

        string / Email Address
        optional
      • endpoint

        string
        optional
      • id

        string / UUID
        optional
      • ip_address

        string
        optional
      • method

        string
        optional
        Possible values
        • OPTIONS:  The `OPTIONS` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.2.1).
        • GET:  The `GET` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1).
        • POST:  The `POST` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1).
        • PUT:  The `PUT` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.1).
        • DELETE:  The `DELETE` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.5).
        • HEAD:  The `HEAD` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.2).
        • TRACE:  The `TRACE` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3).
        • CONNECT:  The `CONNECT` method as defined in [RFC 7231](https://tools.ietf.org/html/rfc7231#section-4.3.6).
        • PATCH:  The `PATCH` method as defined in [RFC 5789](https://tools.ietf.org/html/rfc5789).
        • EXTENSION:  A catch all.
      • minutes

        integer
        optional
      • org_id

        string / UUID
        optional
      • origin

        string
        optional
      • price

        number / USD Price
        optional
      • request_body

        string
        optional
      • request_query_params

        string
        optional
      • response_body

        string
        optional
      • started_at

        string / ISO-8601
        optional
      • status_code

        integer
        optional
      • token

        string / UUID
        optional
      • updated_at

        string / ISO-8601
        optional
      • user_agent

        string
        optional
      • user_id

        string / UUID
        optional
    • next_page

      string
      optional
get
/users/{id}/api-calls
$ curl "https://api.zoo.dev/users/{id}/api-calls" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2025-04-21T20:00:36.775Z",
      "created_at": "2025-04-21T20:00:36.775Z",
      "duration": 2,
      "email": "is0c@My.com",
      "endpoint": "HwzjvURushz8gJ",
      "id": "8fa62563-6280-42ab-afa4-f3a9d6e3efcf",
      "ip_address": "192.0.2.229",
      "method": "POST",
      "minutes": 8,
      "org_id": "3e5631f4-6b09-4124-b5f9-27c6506925f8",
      "origin": "7P6GKubJfnp",
      "price": "7.36",
      "request_body": "a4ljxTj90sz9Ybm29sQApKm2H",
      "request_query_params": "NNgjxhnkHSL",
      "response_body": "S9lURv5LvYo2ZtokOy",
      "started_at": "2025-04-21T20:00:36.775Z",
      "status_code": 18,
      "stripe_invoice_item_id": "",
      "token": "c1b96d06-25fb-48c1-90be-07d8edc06e1b",
      "updated_at": "2025-04-21T20:00:36.775Z",
      "user_agent": "Qz9Vi",
      "user_id": "d0dc3d41-b695-4c75-bd07-da2f8150ea1e"
    }
  ],
  "next_page": "FNYh82n4q"
}