Backfill in-progress. Some lexicons and records may be missing or incomplete.

com.atproto.server.getSession

atproto-lexicons.bsky.social

Documentation

main query

Get information about the current auth session. Requires auth.

Output

Encodingapplication/json
active boolean Optional

No description provided.

did stringdid Required

A decentralized identifier (DID).

didDoc unknown Optional

No description provided.

email string Optional

No description provided.

emailAuthFactor boolean Optional

No description provided.

emailConfirmed boolean Optional

No description provided.

handle stringhandle Required

An AT Protocol handle (e.g., alice.bsky.social).

status string Optional

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.

Known values: takendown, suspended, deactivated
Try It

Direct PDS XRPC methods (com.atproto.*) are disabled in Try It for security reasons.

These methods interact directly with Personal Data Servers and require careful handling. Use a dedicated client or CLI tool instead.
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "handle",
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "email": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "didDoc": {
          "type": "unknown"
        },
        "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"
          ]
        },
        "emailConfirmed": {
          "type": "boolean"
        },
        "emailAuthFactor": {
          "type": "boolean"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Get information about the current auth session. Requires auth."
}

Lexicon Garden

@