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-09-19T16:11:36.383Z",
  "created_at": "2024-09-19T16:11:36.383Z",
  "duration": 15,
  "email": "feATUq@ZaK.com",
  "endpoint": "JF4zcUq0hleLA",
  "id": "f4582b71-6d4c-4b70-80d9-7ca2aa7c6458",
  "ip_address": "192.0.2.102",
  "litterbox": true,
  "method": "DELETE",
  "minutes": 3,
  "org_id": "71a1dda6-9905-4d4d-b212-964c6b54e4a9",
  "origin": "QMyQw1ReTWsmtn4",
  "price": "40.34",
  "request_body": "qpSi79pEsgfirAXeo2Q3",
  "request_query_params": "tWuLyuC8VsFDZ",
  "response_body": "5uDvIJvEVKoIxdP3c8av9",
  "started_at": "2024-09-19T16:11:36.383Z",
  "status_code": 13,
  "stripe_invoice_item_id": "weSRdT",
  "token": "d91dbcce-46df-4cca-bf07-02ce493f937c",
  "updated_at": "2024-09-19T16:11:36.383Z",
  "user_agent": "DwpeO",
  "user_id": "d7676f02-7db6-41a9-a5a0-6d1da422f76b"
}