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-02-11T16:11:06.135Z",
"created_at": "2025-02-11T16:11:06.135Z",
"duration": 20,
"email": "kl9gU@.com",
"endpoint": "2Mcs4",
"id": "ff76e4d4-0cb4-45db-91d4-72dfbde71739",
"ip_address": "192.0.2.24",
"method": "GET",
"minutes": 4,
"org_id": "96ac38ea-9dd4-4c9f-8a95-961c6877bf7f",
"origin": "I3zSQwfHRorjjTGAfy2GRnQeprDpt",
"price": "96.68",
"request_body": "u5ADtqHY7ihsaA34j6e7VNB",
"request_query_params": "EkoYZU8ET0",
"response_body": "eozMnxUezwSCXc80JPcDtRQ9",
"started_at": "2025-02-11T16:11:06.135Z",
"status_code": 30,
"stripe_invoice_item_id": "lMTWcGmzS2u9w8QE8kWBbWv0BYL8qo",
"token": "3a02d0cd-1039-46c3-be21-cc8bb02bc79a",
"updated_at": "2025-02-11T16:11:06.135Z",
"user_agent": "KtOUZQ5IINCWtsiG9AZirsoTu",
"user_id": "47823442-9461-43a7-a3ab-a4469e452edc"
}
],
"next_page": "5wAxgC8l9LtfFPZO9AEwWvRT"
}