API → API Calls → List API calls for a userhidden
hidden
Parameters
Name
Type
Req.
Possible values
created_at_ascending
: Sort in increasing order of "created_at".created_at_descending
: Sort in decreasing order of "created_at".
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
items
arrayoptionalArray of
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.
get
/users/{id}/api-calls$ curl "https://api.zoo.dev/users/{id}/api-calls" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"completed_at": "2024-04-29T19:58:30.768Z",
"created_at": "2024-04-29T19:58:30.768Z",
"duration": 4,
"email": "nRQQx@ex.com",
"endpoint": "bF",
"id": "ddae7bbc-fde7-493d-b847-3aafb35ffe4b",
"ip_address": "192.0.2.204",
"litterbox": false,
"method": "TRACE",
"minutes": 19,
"org_id": "1984975c-702f-42ef-a33a-581559ca1394",
"origin": "XyW5YZ6tYLFmdvg30CVLyB1OO5U6p1",
"price": "68.82",
"request_body": "1gZc",
"request_query_params": "hBX6a1Y3gE1lZIE",
"response_body": "WTt7556tgpWaydk0Nwn",
"started_at": "2024-04-29T19:58:30.768Z",
"status_code": 15,
"stripe_invoice_item_id": "oP",
"token": "772a6e73-0f65-4ba6-9674-c646137a01cc",
"updated_at": "2024-04-29T19:58:30.768Z",
"user_agent": "apqICD0WIs7eW2kh6S359mtGfSo",
"user_id": "f5c9d184-83be-4998-9a71-6c898311a5c4"
}
],
"next_page": "6AViKLNyo8b2ufZjruiSON"
}