Skip to content

Daily operator digest

POST
/api/admin/daily-digest

The 09:00 America/Los_Angeles digest — issues, new users, new takes, signals/resolutions, headlines. Idempotent per day (daily_reports). In production it is READ, not sent: scripts/morning_brief.py calls ?dry=1 and mails the payload itself. The send path stays wired but dormant unless DIGEST_TO_EMAIL + Resend are configured.

dry
string
Allowed values: 1

Return the payload; send nothing.

force
string
Allowed values: 1

Admin only — re-send a day.

to
string format: email

Admin only — override recipient.

Dry-run payload, sent, or skipped.

One of:
object
dry
boolean
date
string
to
string | null
emailConfigured
boolean
subject
string
htmlBytes
integer
payload
object
key
additional properties
any

no_recipient

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any

Missing or invalid credential.

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any

send_failed

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any

email_not_configured

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any