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
      • 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-12-19T17:47:38.766Z",
      "created_at": "2024-12-19T17:47:38.766Z",
      "duration": 31,
      "email": "YUMGButan2@kSU8c.com",
      "endpoint": "krQK0jatnhf9",
      "id": "3a713874-c4c7-4f53-b690-d91851db8099",
      "ip_address": "192.0.2.205",
      "method": "OPTIONS",
      "minutes": 10,
      "org_id": "64ed7361-2d97-4548-8b86-48e56e5e90a4",
      "origin": "tjCe",
      "price": "99.19",
      "request_body": "j",
      "request_query_params": "gNW86HdC6wBC8jZnysflKNtd5WQN",
      "response_body": "zRhO4N9MK8KfIzv",
      "started_at": "2024-12-19T17:47:38.766Z",
      "status_code": 21,
      "stripe_invoice_item_id": "MhcJuBx53PlCq3",
      "token": "8f245190-01af-47db-9944-91a9a0406377",
      "updated_at": "2024-12-19T17:47:38.766Z",
      "user_agent": "ycmhioAHlDQO",
      "user_id": "ea5de102-73d3-4a8b-bb4e-0cd815c3874b"
    }
  ],
  "next_page": "ZoW7o47zpVEFsUASNG6CSx6Gf"
}