Skip to main content
POST
Request an audit-log report

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Headers

x-magnific-team-id
string<uuid>

Personal token only: the team the call acts on (its UUID). The caller must be an active member of it. Without it, the team in the token is used; with neither, the call is team_required (400). Ignored for an API key, which always acts on its own team.

Body

application/json
from
string<date>

First day (UTC, inclusive). Defaults to 14 days before to.

to
string<date>

Last day (UTC, inclusive). Defaults to today.

filters
object

An event must match every filter set; within one, any of its values.

Example:

Response

The report requested.

data
object
required
Example: