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-07T17:15:46.096Z",
"created_at": "2025-01-07T17:15:46.096Z",
"duration": 21,
"email": "GVaec3x@Z1ohJVZABl.com",
"endpoint": "ztgTkVc2LT4ZKK6dbPjUZLfXEk",
"id": "2574e4a2-98ce-4650-ab12-2a82b81392ea",
"ip_address": "192.0.2.37",
"method": "POST",
"minutes": 2,
"org_id": "ef3218eb-a663-4793-b8c2-0d9c1788ca7f",
"origin": "6R",
"price": "59.26",
"request_body": "IPVTP2Y7FBzbaigI110p",
"request_query_params": "nO7uTdhRHNz3",
"response_body": "VagUCbAZQV6dq9OP",
"started_at": "2025-01-07T17:15:46.096Z",
"status_code": 5,
"stripe_invoice_item_id": "gUdkXiQ3zYcDFOGkZ6Hh",
"token": "7e92e9c7-9d43-4a18-a910-969b90069045",
"updated_at": "2025-01-07T17:15:46.096Z",
"user_agent": "SZmj3Rhxzv1XQw1ERElFi",
"user_id": "688abb09-c305-44bf-84d6-6f9bb0808f73"
}
],
"next_page": "HbbKG"
}