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-09-07T21:56:20.535Z",
      "created_at": "2024-09-07T21:56:20.535Z",
      "duration": 4,
      "email": "wy8@t.com",
      "endpoint": "veFgyEII2OkTDvrgf6fSaO",
      "id": "b04837fe-f315-4d91-b31f-11c27122cbee",
      "ip_address": "192.0.2.93",
      "litterbox": false,
      "method": "POST",
      "minutes": 21,
      "org_id": "626add9a-fce4-4eb0-937e-b63dc2b7c53b",
      "origin": "XvvISrUmg28EzMAugN",
      "price": "18.68",
      "request_body": "BJM0JdbO601MHlQtEvdB8akd0g45",
      "request_query_params": "h3KghMUhudE8nJQnTA6B6gwJOh",
      "response_body": "ZIZx",
      "started_at": "2024-09-07T21:56:20.535Z",
      "status_code": 13,
      "stripe_invoice_item_id": "",
      "token": "aea0f90b-fef5-42dc-8b3c-5f141b6d38b3",
      "updated_at": "2024-09-07T21:56:20.535Z",
      "user_agent": "dykKvW",
      "user_id": "b63dd0fb-bf43-4674-83a5-362ff18dd641"
    }
  ],
  "next_page": "JX7g8zBhqa51HFPAHjDZanKaXgo"
}