The audit log
GET
/v1/admin/audit
const url = 'https://example.com/v1/admin/audit';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/admin/audit \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”tenant
string
Only this tenant’s events.
limit
integer
At most this many (100 by default).
Responses
Section titled “Responses”The answer.
Media typeapplication/json
Array<object>
object
at
required
string
tenant
required
string
actor
required
string
action
required
string
target
required
string
details
required
object
events
array
url
string
size
integer
sha256
string
libraryFonts
array
title
string
filename
string
rights
object
to
string
scopes
array
tier
name
string
requestId
required
string
Example generated
[ { "at": "example", "tenant": "example", "actor": "example", "action": "example", "target": "example", "details": { "events": [ "example" ], "url": "example", "size": 1, "sha256": "example", "libraryFonts": [ "example" ], "title": "example", "filename": "example", "rights": {}, "to": "example", "scopes": [ "example" ], "tier": "example", "name": "example" }, "requestId": "example" }]No key, or not a valid one.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}The key lacks the scope, or its tenant is suspended or deleted.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}