API → API CallsList API calls
hidden

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
/api-calls
$ curl "https://api.zoo.dev/api-calls" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "completed_at": "2024-04-29T19:58:21.245Z",
      "created_at": "2024-04-29T19:58:21.245Z",
      "duration": 31,
      "email": "8E6F@saKdE1.com",
      "endpoint": "Sx36dCm4wD79XTVKve",
      "id": "8fd515f3-4f96-43b8-bf5a-ad41bcf30b9c",
      "ip_address": "192.0.2.203",
      "litterbox": false,
      "method": "OPTIONS",
      "minutes": 31,
      "org_id": "8be246c7-726d-4fd9-8cf6-8f122ba581fb",
      "origin": "ogT7wCLyo64F2VnYa",
      "price": "30.18",
      "request_body": "Ay9trx7Y",
      "request_query_params": "82MBEwa4pOuKY2l5t9H5e",
      "response_body": "AbbKt",
      "started_at": "2024-04-29T19:58:21.245Z",
      "status_code": 18,
      "stripe_invoice_item_id": "N6FnT5eL5Ihw",
      "token": "39dc5a5a-7d25-4a02-ab56-c51ea1a280f0",
      "updated_at": "2024-04-29T19:58:21.245Z",
      "user_agent": "3H4j9BxlXVK5i1bL71f5adxPV",
      "user_id": "82f97f95-7e26-49b5-be84-e604487ef850"
    }
  ],
  "next_page": "6e8AIsdGiNKKSkmmJnG"
}