Skip to main content
GET
Export logs as CSV

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
locale
enum<string>
default:en

Language of the summary column.

Available options:
en,
de,
ja
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

The CSV file.

The response is of type string.