Skip to main content
PATCH
Update a report

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.

Path Parameters

id
string<cuid>
required

Body

application/json
name
string

Optional name patch.

description
string

Optional description patch.

type
enum<string>
Available options:
PRIVATE,
PUBLIC,
TEMPLATE
teamId
string | null
scopeId
string | null
context
object
scheduledPeriod
enum<string> | null

Delivery cadence, or null for an on-demand report. Switching to WEEKLY requires a scheduledWeekday (in this body or already stored).

Available options:
DAILY,
WEEKDAYS,
WEEKLY,
MONTHLY,
null
scheduledWeekday
number

Day of week for WEEKLY reports: 0 = Sunday … 6 = Saturday. Only validated when present in the body.

scheduledFirstRunAt
string<date-time> | null
status
enum<string>
Available options:
ACTIVE,
INACTIVE
widgets
object[]

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.

destinations
object[]
archivedAt
string<date-time> | null

Response

Report updated

Last modified on July 20, 2026