Version v0.51 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Persist
API endpoints for Persist.
GET /api/persist/
List the entries of [[PersistedInfo]] in order to show a status page.
GET /api/persist/:persisted-info-id
Fetch a particular [[PersistedInfo]] by id.
PARAMS:
persisted-info-idnullable value must be an integer greater than zero.
GET /api/persist/card/:card-id
Fetch a particular [[PersistedInfo]] by card-id.
PARAMS:
card-idnullable value must be an integer greater than zero.
POST /api/persist/disable
Disable global setting to allow databases to persist models. This will remove all tasks to refresh tables, remove that option from databases which might have it enabled, and delete all cached tables.
POST /api/persist/enable
Enable global setting to allow databases to persist models.
POST /api/persist/set-refresh-schedule
Set the cron schedule to refresh persisted models. Shape should be JSON like {cron: “0 30 1/8 * * ? *”}.
PARAMS:
-
cronValue must be a string representing a cron schedule of format. -
_body
Read docs for other versions of Metabase.