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-04-12T19:22:59.150Z",
  "created_at": "2024-04-12T19:22:59.150Z",
  "duration": 29,
  "email": "@v1Iczafex.com",
  "endpoint": "uQlZ",
  "id": "e2fa835e-6216-4f28-a1b2-e7e981f97ac4",
  "ip_address": "192.0.2.172",
  "litterbox": false,
  "method": "GET",
  "minutes": 27,
  "org_id": "ed842d4e-5f98-4630-b803-8e65420612d7",
  "origin": "o99pJHXh",
  "price": "76.86",
  "request_body": "Tk2HYnMrZ9Xz8lo8U7jOm",
  "request_query_params": "h",
  "response_body": "I2ipTxYCXxWQ",
  "started_at": "2024-04-12T19:22:59.150Z",
  "status_code": 21,
  "stripe_invoice_item_id": "Wrq27O",
  "token": "52f50c53-7f42-4639-ba9c-5bcbad650b90",
  "updated_at": "2024-04-12T19:22:59.150Z",
  "user_agent": "JTlLOfV1IpltzIRbv5T4gjbBDZ2S2c",
  "user_id": "af1308bb-4e82-43cb-8149-f93aa8e5af26"
}