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-10-18T02:47:57.607Z",
      "created_at": "2024-10-18T02:47:57.607Z",
      "duration": 27,
      "email": "JPIt@pV6E3.com",
      "endpoint": "",
      "id": "91c08b32-3d34-4348-9485-4d223130bea0",
      "ip_address": "192.0.2.166",
      "litterbox": true,
      "method": "OPTIONS",
      "minutes": 9,
      "org_id": "db4a5050-c3b7-43e2-894e-953c33161c0b",
      "origin": "R",
      "price": "47.42",
      "request_body": "6MiMOZ2gIxi8UqpA",
      "request_query_params": "qiv3KqgnKWdNSAhyJ",
      "response_body": "DAn7",
      "started_at": "2024-10-18T02:47:57.607Z",
      "status_code": 12,
      "stripe_invoice_item_id": "cM45DkPcR2BN2Ddi5rotn69B6v",
      "token": "401fef20-47dd-448d-b085-353978b90701",
      "updated_at": "2024-10-18T02:47:57.607Z",
      "user_agent": "6cYVkaKGFdaIWVzngNB5VvpVz12",
      "user_id": "6c2d9c93-ebc5-4b9e-a997-1fed7a6fe472"
    }
  ],
  "next_page": "mT"
}