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

Visibility: PRIVATE (default), PUBLIC, or TEMPLATE. Team sharing is via teamId — there is no TEAM value.

Available options:
PRIVATE,
PUBLIC,
TEMPLATE
teamId
string | null

Optional owning team id. Independent of type/visibility; omit or null for no team.

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 time (UTC, truncated to the hour). 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