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-01-17T16:11:54.817Z",
"created_at": "2025-01-17T16:11:54.817Z",
"duration": 18,
"email": "dF@JYyIMpAuHn.com",
"endpoint": "TooA6uh7",
"id": "5f71f7a0-4181-4583-b98b-0a1964c1697f",
"ip_address": "192.0.2.30",
"method": "GET",
"minutes": 27,
"org_id": "6abdf839-19de-4621-88a3-1f35bba5d8e4",
"origin": "k6PRV",
"price": "20.33",
"request_body": "n4LncQrrHoqQUqe5RXXc",
"request_query_params": "tioU",
"response_body": "RVpl",
"started_at": "2025-01-17T16:11:54.817Z",
"status_code": 24,
"stripe_invoice_item_id": "ytCFYLbZ7nZJunmnm89UVwSqZEQj",
"token": "0d6a3c82-4054-4656-a3b1-6da147409007",
"updated_at": "2025-01-17T16:11:54.817Z",
"user_agent": "lHcunZlcQln3ZQo26",
"user_id": "cbae3ea7-9b3d-4ae3-a5d4-ab365cf24b48"
}
],
"next_page": "mdSvcThYBOnhC"
}