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": "2024-12-19T17:47:41.728Z",
  "created_at": "2024-12-19T17:47:41.728Z",
  "duration": 10,
  "email": "@DiwqX.com",
  "endpoint": "DQ0xTmul",
  "id": "c46e9821-e42d-48a2-b13c-7d051f9e7926",
  "ip_address": "192.0.2.84",
  "method": "EXTENSION",
  "minutes": 26,
  "org_id": "022cf619-f534-48fe-a783-770244cd9972",
  "origin": "OehiYI4xJW",
  "price": "27.94",
  "request_body": "ts",
  "request_query_params": "JhiHcEoP42H2lpreDn1oSKT",
  "response_body": "UKqG",
  "started_at": "2024-12-19T17:47:41.728Z",
  "status_code": 16,
  "stripe_invoice_item_id": "kN4N8czMPRkuqjdhV3iS84cnRUf",
  "token": "280d4a32-1a59-4807-9dc5-1ca95706b8c5",
  "updated_at": "2024-12-19T17:47:41.728Z",
  "user_agent": "Kib2r5hozVpiyS",
  "user_id": "c7e879a5-84c6-4a43-904b-e6753150ce22"
}