Skip to main content
Get the analytics summary

Authorizations

Authorization
string
header
required

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

Headers

Project-Id
string

The project to act on, by ID or name. Required with an organization key unless the key reaches only one project; list projects with GET /projects. A project key acts on its own project and needs no value: naming another one is an error.

Query Parameters

range
enum<string>
default:30d

The time window. 24h is the last 24 hours, in hourly buckets. 7d, 30d and 90d are whole UTC days that end with today, in daily buckets.

Available options:
24h,
7d,
30d,
90d
channel
string

A channel ID or key. Only count content from this channel. Leave out to count all channels.

Response

Successful response

range
enum<string>
required

The time window of the numbers.

Available options:
24h,
7d,
30d,
90d
channelId
string | null
required

The channel the numbers are for. Null when they are for all channels.

totals
object
required

Request counts for the window. A flagged request has one recommendation: allow, reject or review.

previousPeriod
object
required

The same counts for the window of equal length just before this one. Compare with totals to see the trend.

pendingReview
integer
required

Items in the default review queue that nobody has reviewed yet, counted as the queue counts them (repeats count once). The queue looks back 30 days, so older items are not included. The range does not change it.

Required range: x >= 0
flagRateSpike
object | null
required

Set when the flag rate of the last 2 days is at least 2 times the rate of the 30 days before, with at least 50 flagged requests. Null when there is no spike. Always for the full project: the range and channel do not change it.