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
    • 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": "2025-01-17T16:11:53.535Z",
  "created_at": "2025-01-17T16:11:53.535Z",
  "duration": 23,
  "email": "r6rLxmqsu@nIp.com",
  "endpoint": "jM7zIY9",
  "id": "87fc0947-5544-4a11-9d11-be2fe179cb90",
  "ip_address": "192.0.2.167",
  "method": "PUT",
  "minutes": 28,
  "org_id": "b6f423bc-e138-4cea-9c72-02e1422dfbbc",
  "origin": "RErAj04qpF5b7Qi",
  "price": "4.90",
  "request_body": "R190Xy",
  "request_query_params": "JffHcX7R9jesOY0HG6hp0l9mcPnIsL",
  "response_body": "TgjkF3cFvLSRMoMipizyCal2e2N",
  "started_at": "2025-01-17T16:11:53.535Z",
  "status_code": 1,
  "stripe_invoice_item_id": "evl",
  "token": "bb7a8e35-c244-4a3a-abeb-74fd6cc89add",
  "updated_at": "2025-01-17T16:11:53.535Z",
  "user_agent": "7o4Ch",
  "user_id": "af9195d1-53f2-4d2b-aaf1-b1ab0d67686a"
}