List logs
Changed onReturns the server's logs, newest first. This is the same data the log viewer shows.
How far back you can read depends on the server's plan: the last hour on the free plan and Pro Lite, 30 days on Quark Pro. A request that reaches further back is cut to that window and walled is true.
Request
- Base URLhttps://quark.bot/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The server's ID. Must be the server the token was created for.
Query parameters
Text to search for. Matches whole words in message content, and parts of names, channels, roles and reasons.
Only entries after this time, in milliseconds since the Unix epoch. Limited to what the server's plan allows.
Only entries before this time, in milliseconds since the Unix epoch.
One or more categories. Repeat the parameter for each.
One or more log type IDs. Repeat the parameter for each.
A channel ID.
A user ID.
Whether member did the action, had it done to them, or either.
A role name, or part of one.
Entries per page.
The cursor from the previous page.
Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.
Response
A page of logs.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status
- info