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-07-27T01:15:29.393Z",
  "created_at": "2024-07-27T01:15:29.393Z",
  "duration": 18,
  "email": "ZfMJbxAZO@4XOXo65.com",
  "endpoint": "LA9LhLLo6cPqQMq3ArQAeVgTeHS",
  "id": "5fc96744-aaf3-4417-b893-324eb8d8a864",
  "ip_address": "192.0.2.40",
  "litterbox": true,
  "method": "TRACE",
  "minutes": 11,
  "org_id": "acc635f0-e882-4606-8aa4-08420442ef22",
  "origin": "GnaS36fQC5XogQnoX",
  "price": "41.83",
  "request_body": "PeLl",
  "request_query_params": "4eSGF4",
  "response_body": "HG",
  "started_at": "2024-07-27T01:15:29.393Z",
  "status_code": 3,
  "stripe_invoice_item_id": "hfJFf6FpIwnucy5QA4AKw",
  "token": "c0c66d05-3fd0-4dc0-b516-12a767845292",
  "updated_at": "2024-07-27T01:15:29.393Z",
  "user_agent": "J",
  "user_id": "fcf9c127-8863-4d75-a35d-71f4da3a14c0"
}