TwoFactor
Where the authenticated user’s two-factor authentication (TOTP) stands.
object
enabled
required
Whether signing in asks for a code after the password.
boolean
enrolled_at
When the authenticator app was enrolled; omitted when not enabled.
string format: date-time
recovery_codes_remaining
How many recovery codes are unused; omitted when not enabled.
integer
Example generated
{ "enabled": true, "enrolled_at": "2026-04-15T12:00:00Z", "recovery_codes_remaining": 1}For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt