Public API › BI dashboards

Update a widget by natural-language criterion

write call of the i40Pilot public API. Required scope: modules:write.

Calling it

curl -X POST https://i40pilot.app/api/v1/tools/bi_update_widget \
  -H "Authorization: Bearer sk-app-..." \
  -H "Content-Type: application/json" \
  -d '{ ... }'

Parameters

NameType
updatesobjectoptional
criterionstringoptional
widget_idstringoptional
dashboard_idstringrequired

Cost

Pre-authorised at 1 credit minimum. The cost depends on how much data is processed: real overage is settled afterwards, and the mode is announced in GET /tools before the call.

Discovery

GET /api/v1/tools returns the full catalogue with, for each tool, its input schema, its price and the scope it requires — the cost is known before the call, never after.

All API tools