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
    • 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
/api-calls/{id}
$ curl "https://api.zoo.dev/api-calls/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-10-21T17:58:55.738Z",
  "created_at": "2024-10-21T17:58:55.739Z",
  "duration": 5,
  "email": "@.com",
  "endpoint": "g4fgedx",
  "id": "1ad6412c-8a16-4f20-9b42-e4f9c485e588",
  "ip_address": "192.0.2.25",
  "litterbox": true,
  "method": "DELETE",
  "minutes": 6,
  "org_id": "2a87336c-a38d-4e33-9e08-1f2870909d09",
  "origin": "BntCTUl2wFpCoGH7PzWbx0HrGHvc3",
  "price": "5.32",
  "request_body": "YQ2IO1sNWploY",
  "request_query_params": "bKX5zzxnn3ibDL4JoTodb",
  "response_body": "zaOyzD2gIPu9AZqk4kCZH7RF5H7Qo9",
  "started_at": "2024-10-21T17:58:55.739Z",
  "status_code": 22,
  "stripe_invoice_item_id": "b9Yhf6E5RSrpwlr",
  "token": "dc5b7374-6ab7-4f13-9786-f10c75ddbf62",
  "updated_at": "2024-10-21T17:58:55.739Z",
  "user_agent": "OPo0ZTvHl4JuPNR5CQ",
  "user_id": "9b6a234e-bbad-4751-b69a-97abb4dfc3dc"
}