Browse the API reference

MFA Status

get/v1/auth/mfa/status

Part of Auth.

The authenticated user's MFA posture for account settings.

Authentication

Authenticate with:

  • API key in the X-API-Key header.

Example request

curl
curl -X GET "https://api.robosystems.ai/v1/auth/mfa/status" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

FieldTypeDescription
passkey_countrequiredinteger

Enrolled passkey count

recovery_codes_remainingrequiredinteger

Unused recovery codes remaining

enforcement_appliesrequiredboolean

Whether the MFA requirement applies to this user's roles

StatusMeaning
400Invalid request
429Rate limit exceeded
500Internal server error