v8
OpenAPI 3.1.02026-08-033623795.0 MBApps
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.app hosting. Logs are retained for 7 days.
get/apps/{id}/logs
Path parameters
idstring required
The ID of the app, which will look like app_*************.
Query parameters
app_build_idstring
Only return logs from this build.
level'log' | 'debug' | 'info' | 'warn' | 'error'
Only return console lines of this level.
querystring
Only return logs whose message contains this text (case-insensitive).
created_afterstring date-time
Start of the time window as an ISO 8601 timestamp. Defaults to 7 days before created_before.
created_beforestring date-time
End of the time window as an ISO 8601 timestamp. Defaults to now.
firstinteger
The number of log lines to return (max 500).
afterstring
A cursor for fetching logs after a previous page.
beforestring
A cursor for fetching logs before a later page.
Response
logs listed