API → API CallsList API calls for your user

Parameters

Name

Type

Req.

  • 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
      • litterbox

        boolean
        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
/user/api-calls
$ curl "https://api.zoo.dev/user/api-calls" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2024-09-19T16:11:36.260Z",
      "created_at": "2024-09-19T16:11:36.260Z",
      "duration": 5,
      "email": "Q3@.com",
      "endpoint": "h5kFBjuJeVLiJXfIq5c",
      "id": "468e15cd-6a97-423b-9586-68057af9d9cf",
      "ip_address": "192.0.2.120",
      "litterbox": false,
      "method": "CONNECT",
      "minutes": 24,
      "org_id": "de31addf-622f-4176-9851-9ad7d1c7aeaa",
      "origin": "0rDczbHYIBGTkBZsysksIcwPADQ",
      "price": "87.46",
      "request_body": "uRCYJNaXKyNmxHkMhzy5lusY8by",
      "request_query_params": "9toJEvGWcc",
      "response_body": "sJpnK2d1CGC5MgOnxK",
      "started_at": "2024-09-19T16:11:36.260Z",
      "status_code": 21,
      "stripe_invoice_item_id": "qKOOPfPrEaJpJ9lrzllKLeM8DG",
      "token": "9764e5e3-598c-40fe-a997-fdf6a8dcf79d",
      "updated_at": "2024-09-19T16:11:36.260Z",
      "user_agent": "EoB0YOdfuCfmQhxmOhuveNSsMZ",
      "user_id": "9b6e6dcd-7a56-4dc2-b1ce-109bd3dcb4b7"
    }
  ],
  "next_page": "MFnIogVE1y38q5tSW7g0j2DXiTJJVy"
}