Skip to main content
POST
Send a test report delivery

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <credential> using either a Clerk session JWT or a Clerk API key (ak_*). API keys may identify a user (user_*) or organization (org_*) principal and are generated in the Clerk Dashboard under API keys.

Body

application/json
name
string
required

Report name. May be empty or whitespace — the server then generates one from the report's content.

scheduledPeriod
enum<string> | null
required

Delivery cadence, or null for an on-demand (one-time) report that only runs when triggered.

Available options:
DAILY,
WEEKDAYS,
WEEKLY,
MONTHLY,
null
destinations
object[]
required

Delivery targets. At least one is required. Each report is fanned out to every destination on every run.

Minimum array length: 1
description
string
default:""

Optional longer description (default empty).

type
enum<string>
default:PRIVATE

Deprecated. On create, PUBLIC still seeds an organization Editor grant (and PRIVATE does not). On update it is ignored — grant Reader or Editor via PUT /access/report/:id/grants instead. TEMPLATE is dashboard-only.

Available options:
PRIVATE,
PUBLIC
tagIds
string[]

Existing org tag ids to assign. Omit for untagged.

teamId
string | null

Deprecated. On create, a non-null teamId still seeds a team Editor grant. On update it is ignored — grant a team Reader or Editor via PUT /access/report/:id/grants instead.

scopeId
string | null
context
object

Report-wide defaults (metric, group-by, date range, filters, currency) that widgets and destinations inherit unless they override them.

scheduledWeekday
number

Day of week for WEEKLY reports: 0 = Sunday … 6 = Saturday. Required when scheduledPeriod is WEEKLY; ignored for every other cadence.

scheduledFirstRunAt
string<date-time> | null

First send date (UTC). The time of day is ignored: the report is due for the whole UTC day, as soon as the org is ready. Ignored once the report has run at least once.

status
enum<string>
Available options:
ACTIVE,
INACTIVE
widgets
object[]

Ordered widgets that make up the report body. Each widget's type selects its shape (see ReportWidgetParameters).

One report widget. The type field selects the shape: TOP_FLOP | GRAPH_SNAPSHOT | DASHBOARD_PDF | DIGEST | TEXT. All fields other than type depend on the chosen type.

reportId
string<cuid>

Response

Per-destination send results

results
object[]
required
Last modified on July 20, 2026