Version v0.43 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
API endpoints for Setup.
GET /api/setup/admin_checklistReturn various “admin checklist” steps and whether they’ve been completed. You must be a superuser to see this!
GET /api/setup/user_defaultsReturns object containing default user details for initial setup, if configured, and if the provided token value matches the token in the configuration value.
tokenPOST /api/setup/Special endpoint for creating the first user during setup. This endpoint both creates the user AND logs them in and returns a session ID. This endpoint also can also be used to add a database, create and invite a second admin, and/or set specific settings from the setup flow.
engine
schedules value may be nil, or if non-nil, value must be a valid map of schedule maps for a DB.
allow_tracking value may be nil, or if non-nil, value must satisfy one of the following requirements: 1) value must be a boolean. 2) value must be a valid boolean string (‘true’ or ‘false’).
invited_last_name value may be nil, or if non-nil, value must be a non-blank string.
site_locale value may be nil, or if non-nil, String must be a valid two-letter ISO language or language-country code e.g. en or en_US.
email value must be a valid email address.
first_name value must be a non-blank string.
request
auto_run_queries value may be nil, or if non-nil, value must be a boolean.
password password is too common.
name
invited_email value may be nil, or if non-nil, value must be a valid email address.
invited_first_name value may be nil, or if non-nil, value must be a non-blank string.
site_name value must be a non-blank string.
token Token does not match the setup token.
details
database
last_name value must be a non-blank string.
POST /api/setup/validateValidate that we can connect to a database given a set of details.
engine value must be a valid database engine.
details
token Token does not match the setup token.