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-04T12:25:31.155Z",
      "created_at": "2025-07-04T12:25:31.155Z",
      "duration": 28,
      "email": "nDBmcuXA@oiIEG.com",
      "endpoint": "yc0rQyrr6Qesh9BX7nb2OF",
      "id": "fab444f4-2f38-46cb-a746-9ba4ace1ceef",
      "ip_address": "192.0.2.142",
      "method": "CONNECT",
      "minutes": 25,
      "org_id": "074c58c2-81a8-478e-8ead-8505c29e9658",
      "origin": "BoU4E0s3XBMXQ",
      "price": "61.26",
      "request_body": "Q14uKy9kYosU40Pv",
      "request_query_params": "IK66wW4tgS4",
      "response_body": "Ot0FqzeXPtfZ6FLdMzk5A",
      "started_at": "2025-07-04T12:25:31.155Z",
      "status_code": 23,
      "stripe_invoice_item_id": "ts42UVzjs6X0BtR1vAwifY6uIf",
      "token": "42c401a6-7956-4c5f-a777-5885f9f3ff0f",
      "updated_at": "2025-07-04T12:25:31.155Z",
      "user_agent": "Kerx4g",
      "user_id": "3c4c5777-cfe4-4202-9a4f-3e9748fdb4ce"
    }
  ],
  "next_page": "h5QPuUuFWEUtlPQm0Q0rEW"
}