{ "lexicon": 1, "id": "com.atproto.server.getSession", "defs": { "main": { "type": "query", "description": "Get information about the current auth session. Requires auth.", "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "handle", "did" ], "properties": { "active": { "type": "boolean" }, "did": { "type": "string", "format": "did" }, "didDoc": { "type": "unknown" }, "email": { "type": "string" }, "emailAuthFactor": { "type": "boolean" }, "emailConfirmed": { "type": "boolean" }, "handle": { "type": "string", "format": "handle" }, "status": { "type": "string", "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.", "knownValues": [ "takendown", "suspended", "deactivated" ] } } } } } } }