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-12-19T17:47:43.196Z",
"created_at": "2024-12-19T17:47:43.196Z",
"duration": 7,
"email": "aH@v8SVp.com",
"endpoint": "BmrJA0qzOmiyi8cW6",
"id": "02a7da21-c548-4bc6-9f36-c20356488f9a",
"ip_address": "192.0.2.42",
"method": "CONNECT",
"minutes": 9,
"org_id": "340a96a7-588f-4a94-8c3e-d06065233e2d",
"origin": "0Saah",
"price": "39.90",
"request_body": "fSgdbj9",
"request_query_params": "CanbdFnVd55EoBt4qZQQthd9b",
"response_body": "ceo8",
"started_at": "2024-12-19T17:47:43.196Z",
"status_code": 25,
"stripe_invoice_item_id": "",
"token": "12ba2b93-4b3b-42a0-8ac5-fb3f465e8c12",
"updated_at": "2024-12-19T17:47:43.196Z",
"user_agent": "2DjY4A01GA",
"user_id": "8b315e61-59fa-4f91-be4d-b560186f20a2"
}
],
"next_page": "UwkEsipkcHAzAFzECt"
}