Skip to main content
GET
List logs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

guild_id
string
required

The server's ID. Must be the server the token was created for.

Pattern: ^\d{17,20}$
Example:

"301655085954367490"

Query Parameters

Text to search for. Matches whole words in message content, and parts of names, channels, roles and reasons.

Maximum string length: 200
after
integer

Only entries after this time, in milliseconds since the Unix epoch. Limited to what the server's plan allows.

before
integer

Only entries before this time, in milliseconds since the Unix epoch.

category
enum<string>[]

One or more categories. Repeat the parameter for each.

Available options:
categoryMembers,
categoryText,
categoryVoice,
categoryServer,
categoryRoles,
categoryChannels,
categoryQuark,
categoryActions,
categoryModlog
type
integer[]

One or more log type IDs. Repeat the parameter for each.

channel
string

A channel ID.

member
string

A user ID.

memberRole
enum<string>
default:either

Whether member did the action, had it done to them, or either.

Available options:
executor,
target,
either
role
string

A role name, or part of one.

Maximum string length: 100
limit
integer
default:100

Entries per page.

Required range: 1 <= x <= 200
cursor
string

The cursor from the previous page.

bot
enum<string>

Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.

Available options:
pro

Response

A page of logs.

entries
object[]
total
integer

How many entries match the filters from this page onwards. On the first page it is the total number of matches.

retentionMs
integer

How far back this server's plan lets you read, in milliseconds.

walled
boolean

True if the request asked for more history than the plan allows.

cursor
string | null

Pass this as cursor to get the next page. Null when there are no more.

categoryCounts
object

Number of entries in each category that match the other filters. The category filter itself is not applied.