API → API CallsGet an API call for an org

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
/org/api-calls/{id}
$ curl "https://api.zoo.dev/org/api-calls/{id}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2025-01-07T20:42:21.270Z",
  "created_at": "2025-01-07T20:42:21.270Z",
  "duration": 26,
  "email": "JWUr@LZveXd4.com",
  "endpoint": "T6FsHm7JLb1Ab6j3",
  "id": "70372150-8d65-4bff-a4bf-9cdab96ef4ea",
  "ip_address": "192.0.2.101",
  "method": "HEAD",
  "minutes": 25,
  "org_id": "9898fd0d-5b8c-4fbd-bcd6-8d561db9e8a1",
  "origin": "9e2dRe8ro60FQQ1S0W0RVTKQrDyVS",
  "price": "22.57",
  "request_body": "DPd4sqUa222FV3",
  "request_query_params": "tBtSLJhJQoKUWQbW3ZNoZzznU7Nci",
  "response_body": "kGUJ5wlv5XNR1HAXi2UMkqc9qtMCl",
  "started_at": "2025-01-07T20:42:21.271Z",
  "status_code": 23,
  "stripe_invoice_item_id": "7H6waW3i1hGUEs0vR0p",
  "token": "db65f1ea-5425-4f47-b4e3-6deaf64b6c59",
  "updated_at": "2025-01-07T20:42:21.271Z",
  "user_agent": "b9dMNeuhA64mZ437PP",
  "user_id": "c0031c83-8f5d-48a1-b5a3-00d5ef783ec5"
}