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-07-27T01:15:29.424Z",
      "created_at": "2024-07-27T01:15:29.424Z",
      "duration": 2,
      "email": "IPM@2.com",
      "endpoint": "vjRVmvBEjZX91",
      "id": "eb900aa8-d022-446e-9b99-ada643810612",
      "ip_address": "192.0.2.67",
      "litterbox": false,
      "method": "PUT",
      "minutes": 1,
      "org_id": "5cc5c066-8d7e-4250-95a2-ee28204265b7",
      "origin": "zVBRavgbrNWRu8w5bvgpL1C0bau",
      "price": "41.16",
      "request_body": "0xKA4HRyx9PoGyMzPgy7Kk958nfeT",
      "request_query_params": "cNgBPmw",
      "response_body": "F",
      "started_at": "2024-07-27T01:15:29.424Z",
      "status_code": 23,
      "stripe_invoice_item_id": "yqdY0mqA",
      "token": "31aba43a-9f3e-493e-ba09-86ce51e5af0d",
      "updated_at": "2024-07-27T01:15:29.424Z",
      "user_agent": "ThjYN3ZsGumbfrqX",
      "user_id": "00c92313-79b7-478b-aff3-0b6269a62d8f"
    }
  ],
  "next_page": "rNYdPP7oWSEw7dO6hNZF8"
}