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": "2025-03-12T01:35:25.154Z",
"created_at": "2025-03-12T01:35:25.154Z",
"duration": 28,
"email": "c@ctNA7EJYt.com",
"endpoint": "o4q",
"id": "e918219f-9eb0-4d68-b450-6bbf49276ee5",
"ip_address": "192.0.2.208",
"method": "HEAD",
"minutes": 25,
"org_id": "ca99f87b-b88f-42f7-b31d-acd3414d5a44",
"origin": "0nge11snnuGM17gAqEOASDEqF71",
"price": "73.09",
"request_body": "pTgDaQfq0OQrrfxe",
"request_query_params": "JDQzA0WMKz",
"response_body": "aW8NS",
"started_at": "2025-03-12T01:35:25.154Z",
"status_code": 8,
"stripe_invoice_item_id": "wpRFRaXMRzO",
"token": "1ffd12b8-9fe9-4c63-93df-63ee696701e2",
"updated_at": "2025-03-12T01:35:25.154Z",
"user_agent": "u4hnLUH",
"user_id": "2c3e137b-aaec-47f8-8ca8-960c3d5d5cfa"
}
],
"next_page": "vI"
}