API → API CallsGet details of an API call
hidden

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
/api-calls/{id}
$ curl "https://api.zoo.dev/api-calls/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2025-02-11T16:11:01.666Z",
  "created_at": "2025-02-11T16:11:01.666Z",
  "duration": 1,
  "email": "0i4Y@B.com",
  "endpoint": "uFw",
  "id": "edbf3284-f3be-4290-be3a-e28c244d4e22",
  "ip_address": "192.0.2.82",
  "method": "PATCH",
  "minutes": 9,
  "org_id": "286cac96-cad1-4d47-8806-4f7efc7f14ea",
  "origin": "LOGl7OSy17YZ6jnG4HPb",
  "price": "0.61",
  "request_body": "oI6J3geQEtjit7ITYxbzfXZSMrmk",
  "request_query_params": "8OzgpPeqRz4",
  "response_body": "eLtV2KV4wZMxdpeAK5HB5Yvs",
  "started_at": "2025-02-11T16:11:01.666Z",
  "status_code": 2,
  "stripe_invoice_item_id": "YVJD0LYbBRtcLPAl6Xv29T9",
  "token": "ad7d6399-9a59-4b7a-a810-cd8da1a266d9",
  "updated_at": "2025-02-11T16:11:01.666Z",
  "user_agent": "6IAmpZ79xncvWeKn",
  "user_id": "444543b0-d725-4621-a82c-ea3f5d4fb38b"
}