List App Logs
Lists a hosted app's server runtime logs, most recent first: console output, uncaught exceptions, and failed-request summaries captured on whop.site hosting. Logs are retained for 7 days.
Path parameters
The ID of the app, which will look like app_*************.
Query parameters
Only return logs from this build.
Only return console lines of this level.
Only return logs whose message contains this text (case-insensitive).
Start of the time window as an ISO 8601 timestamp. Defaults to 7 days before created_before.
End of the time window as an ISO 8601 timestamp. Defaults to now.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Response
logs listed
Example response
{
"data": [
{
"app_build_id": "abld_123",
"app_id": "app_xxxxxxxxxxxxxx",
"cpu_time_ms": 8,
"created_at": "2026-01-01T12:00:00.000Z",
"level": "error",
"message": "TypeError: Cannot read properties of undefined (reading 'slotId')",
"outcome": "exception",
"request_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"request_method": "GET",
"request_path": "/api/slots",
"response_status": 500,
"source": "exception",
"stack": "TypeError: Cannot read properties of undefined (reading 'slotId')\n at renderBookingSlot (/worker/booking.js:118:24)\n at handleRequest (/worker/index.js:42:11)",
"wall_time_ms": 31
}
],
"page_info": {
"end_cursor": "cursor_end",
"start_cursor": "cursor_start"
}
}Changes
Changed in 3 of the 74 revisions of this API.163
- ▲
for the
queryrequest parameterfirst, default value100was addedrequest-parameter-default-value-added
- ●
for the
queryrequest parameterfirst, the max was set to500.00request-parameter-max-set
- ▲
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
debugenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
errorenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
infoenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
logenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
warnenum value to the//response property for the response statusresponse-property-enum-value-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
Of the 74 revisions, 1 has no diff computed.