Read the caller's bootstrap and admin state
Returns whether bootstrap is still open, the caller's email, and the caller's admin record once one exists. While bootstrap is open it answers without an admin check; afterwards the caller must be a platform admin with a verified email address.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/admin/bootstrap"{ "data": { "actorEmail": "string", "bootstrapAvailable": true, "admin": { "id": "string", "email": "string", "displayName": "string", "role": "owner", "status": "active", "createdAt": "string", "activatedAt": "string" } }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Claim the first platform admin account
Promotes the calling user to the owner admin, but only while no admin account exists. The count and the insert share an advisory lock, so exactly one concurrent caller wins and the rest are rejected as bootstrap-closed. Requires a signed-in user with a verified email address, and writes a critical audit event.
Read the admin console dashboard snapshot
Returns the aggregate platform figures rendered on the admin console home. Platform admins only; a caller with no admin record, or with an unverified email address, is refused.