APIAPI 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-07-10T11:06:12.235Z",
      "created_at": "2025-07-10T11:06:12.235Z",
      "duration": 10,
      "email": "XobQFV@.com",
      "endpoint": "dKkwI5grmPRvB0okSaqn",
      "id": "501d163f-3368-4f10-83fb-8eb336fc6080",
      "ip_address": "192.0.2.188",
      "method": "CONNECT",
      "minutes": 23,
      "org_id": "c9804e6d-bd71-4a5c-84ed-369b568cd386",
      "origin": "WDdCYeKKha85KhqeaYHLgMj",
      "price": "21.64",
      "request_body": "OzGi",
      "request_query_params": "jQ8J",
      "response_body": "MXITA3ojVNH2BBvU97095ttWyTx",
      "started_at": "2025-07-10T11:06:12.235Z",
      "status_code": 30,
      "stripe_invoice_item_id": "SByeYGs3MxW5LEOFQD1kUhMnsU8",
      "token": "8fb62f9a-895f-4ef3-a0c2-da230e140a73",
      "updated_at": "2025-07-10T11:06:12.235Z",
      "user_agent": "yy3l5ClDd",
      "user_id": "7a33a49a-4c03-4fef-bd4e-484d2d7fe520"
    }
  ],
  "next_page": "uEtmBxsQ37gmgt7r1EMwPFD"
}