apps

Api Public App Runtime

Public runtime over the active AppBuild's per-query memo, no live compile.

Honours body.refresh (default False), so an embed/share view serves the stored result rather than re-running the warehouse on every load. The stored result follows the app's freshness like any view (app_memo.result_max_age_s): a live app re-runs once it is minutes old, a scheduled one once a scheduled run time has passed since the result was written (this process's response cache may serve it up to _PUBLIC_CACHE_TTL longer). A rebuild mints a new build with an empty memo. A member's ad-hoc Refresh writes only their own viewer scope (see _user_scope's viewer key) and never reaches this one.

post/api/apps/public/{token}/runtime

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/apps/public/{token}/runtime
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Path parameters

tokenstring required

Request body

build_idstring nullable
param_valuesobject nullable
refreshboolean
tabsunknown
stale_firstboolean
structure_onlyboolean
verify_scriptsboolean

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.