API → API CallsGet an API call for a user

Parameters

Name

Type

Req.

  • id

    string / UUID
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • 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
get
/user/api-calls/{id}
$ curl "https://api.zoo.dev/user/api-calls/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-10-21T17:58:59.356Z",
  "created_at": "2024-10-21T17:58:59.356Z",
  "duration": 29,
  "email": "X@mi71IO.com",
  "endpoint": "Bxb",
  "id": "1c188247-6c83-4048-9ed8-2553e0e4f099",
  "ip_address": "192.0.2.164",
  "litterbox": true,
  "method": "DELETE",
  "minutes": 28,
  "org_id": "232daa2f-1722-4ca3-8252-b41a0cb1a665",
  "origin": "",
  "price": "37.63",
  "request_body": "17NcfpkB",
  "request_query_params": "xaOQ9hsfp89Afs",
  "response_body": "HIEw9tbGXYVOKDxbsSJiOucl",
  "started_at": "2024-10-21T17:58:59.357Z",
  "status_code": 19,
  "stripe_invoice_item_id": "rBsHulFjSFHKwKha0xQfYadhO",
  "token": "2a8b9514-2f85-4542-9b1b-89c03ac34dab",
  "updated_at": "2024-10-21T17:58:59.357Z",
  "user_agent": "y",
  "user_id": "922f2715-a7f5-4a46-a46b-01c55c472de8"
}