Skip to content

Dashboard.ask

POST /{namespace}/dashboards/ask

Ask answers a plain-language question with a query over the Startup’s records and shows the query beside the result.

Mode
do
Event
Dashboard.asked

Inputs

InputTypeRequiredDescription
questiontextrequiredThe question, in plain language.
dashboardDashboardThe Dashboard to add the answer to as a tile.

Outputs

OutputTypeRequiredDescription
querytextrequiredThe query it ran, to read and reuse.
rowsjsonrequiredThe result, as a table or chart.
dashboardDashboardrequiredThe Dashboard the question was asked on.

Effects

  • Emits Dashboard.asked.
  • Performed by the Analyst.
  • Two-way: it runs at once, in the try, send and do modes.
  • Reads only records the asker’s Permissions allow.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Dashboard.ask

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt 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.