Dashboard .schedule
POST /{namespace}/dashboards/{dashboard}/schedule
Schedule sends a Dashboard on a cadence to a Mailbox, a Channel or an Agent’s context, rendered for each.
- Noun
- Dashboard
- Mode
do- Event
Dashboard.scheduled
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
dashboard | Dashboard | required | The Dashboard to send. |
cadence | string | required | How often it goes out. |
to | string | required | The Mailbox, Channel or Agent that receives it. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
dashboard | Dashboard | required | The Dashboard, with its schedule. |
Effects
- Emits
Dashboard.scheduled. - Performed by the Analyst.
- Two-way: it runs at once, in the
try,sendanddomodes. - Agents receive Markdown; Humans receive the rendered view.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Dashboard.schedule |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |