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-01-09T18:24:32.359Z",
  "created_at": "2025-01-09T18:24:32.359Z",
  "duration": 13,
  "email": "U6ns@lozhcr.com",
  "endpoint": "31mvTjIiN8A47BhBU",
  "id": "17c05f54-893c-4ba4-a4df-299a52c52cb6",
  "ip_address": "192.0.2.180",
  "method": "PATCH",
  "minutes": 27,
  "org_id": "52401de9-7241-4377-83b3-1e84bc832517",
  "origin": "zQMPaTmJlnrMQHdc",
  "price": "59.57",
  "request_body": "SN23y7PCk7gx8mkRq",
  "request_query_params": "EfzAgyStFwWJZvDMwIpZ9l5Ar",
  "response_body": "Ew2",
  "started_at": "2025-01-09T18:24:32.359Z",
  "status_code": 23,
  "stripe_invoice_item_id": "",
  "token": "80e2caae-39c4-4dca-ad15-8af92200b494",
  "updated_at": "2025-01-09T18:24:32.359Z",
  "user_agent": "DBM",
  "user_id": "26cffd65-aa11-41a1-9bd5-fa3ca36981c4"
}