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-07T20:42:30.433Z",
  "created_at": "2025-01-07T20:42:30.433Z",
  "duration": 25,
  "email": "C73@Woc.com",
  "endpoint": "gYknOdKqhrieZxoZApR1EfBVcFIr1S",
  "id": "efa9b3a8-d7ce-4021-9572-366604806267",
  "ip_address": "192.0.2.101",
  "method": "GET",
  "minutes": 23,
  "org_id": "b4f58178-191d-4ac4-b1ad-af2563e6dd23",
  "origin": "JvdmP2yNJRkpBv4IKG9emkERB",
  "price": "22.14",
  "request_body": "OR1KBXH1psj7bQAytctth8Dg0",
  "request_query_params": "ByzlMoulz8hqLjWI8Cjz",
  "response_body": "EsDmPFgEu1sJ9pIjSdgIO2Pld",
  "started_at": "2025-01-07T20:42:30.433Z",
  "status_code": 30,
  "stripe_invoice_item_id": "rGchsk1Xhll2P5eCB1j27djKRF",
  "token": "f8ccecf9-6a25-49af-bc15-e94a854b92fc",
  "updated_at": "2025-01-07T20:42:30.433Z",
  "user_agent": "57gNz8zZcBqIqydazjdmdRKYRV",
  "user_id": "94088d3d-8fdf-4da1-99b9-8f892cdab77c"
}