Docs
Live demo

Get the first-run setup state

GET/api/v2/setup/state
Signed-in sessionConsole session only

Return how far the signed-in administrator got in the first-run setup of the current organization, and the draft of the wizard. The state belongs to one person in one organization: another administrator, or the same person in another organization, has their own. status is null until the person opens the setup. Only a personal API token can call it and reads the state of its owner. An organization token gets 403 auth.api_token_not_allowed (details.reason=api_token_personal_only).

Responses

200

Setup state of the signed-in administrator

SetupStateResponse · 4 fields
statusstringrequired

null until the person opens the setup.

startedcompletedskipped
can be null
draftmap of string → anyrequired

The wizard's own draft without secrets.

can be null
revisioninteger · int64required

Counts the saves, 0 until the first one. A save names the revision it was read at.

min 0
updated_atstring · date-timerequired
can be null
401

Authentication required

Common errors: 403 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close