API → API CallsList API calls for your org

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
/org/api-calls
$ curl "https://api.zoo.dev/org/api-calls" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2024-04-11T21:10:14.592Z",
      "created_at": "2024-04-11T21:10:14.592Z",
      "duration": 26,
      "email": "QlvY@trl.com",
      "endpoint": "ATFnB6ZxnGjTiGK",
      "id": "892a5ca0-76e2-472a-a22e-97bdba7befbc",
      "ip_address": "192.0.2.195",
      "litterbox": true,
      "method": "HEAD",
      "minutes": 2,
      "org_id": "50c87a2b-2e91-4e69-925f-4f38bc8206fb",
      "origin": "",
      "price": "90.15",
      "request_body": "5iR3iaL0pC",
      "request_query_params": "64nwCtUDLbEzfJ6M03",
      "response_body": "lbFZZisxc",
      "started_at": "2024-04-11T21:10:14.592Z",
      "status_code": 7,
      "stripe_invoice_item_id": "HToa4suhLnViqt",
      "token": "01478a7b-b9bc-4853-9695-ebad77ad1470",
      "updated_at": "2024-04-11T21:10:14.592Z",
      "user_agent": "x",
      "user_id": "28c8751a-301c-4220-841c-ed3b746bd6f1"
    }
  ],
  "next_page": "hUwQBKgrFns3C1wSqJ7CToLw7D"
}