cafe.dummy.lsky.getSession

lsky-publisher.dummy.to

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the authenticated user's lsky-specific state: profile, onboarding status. The user's DID and handle are resolved from the inter-service auth JWT. This is the first call the app should make after login to hydrate lsky user context.",
      "errors": [
        {
          "description": "No valid inter-service auth JWT was provided.",
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "handle": {
              "type": "string"
            },
            "onboarded": {
              "type": "boolean"
            },
            "person": {
              "description": "The user's profile, if they have onboarded.",
              "ref": "cafe.dummy.lsky.defs#profileView",
              "type": "ref"
            }
          },
          "required": [
            "did",
            "handle",
            "onboarded"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "cafe.dummy.lsky.getSession",
  "lexicon": 1
}

Validate Record

Validate a record against cafe.dummy.lsky.getSession

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yuilafccwsaj7a4qkkzhttdn
CID
bafyreicvrhrdkjxo35db343k5ml3evm57ug5zej2yakshblcne5bcynlaq
Indexed At
2026-08-29 21:12 UTC
AT-URI
at://did:plc:yuilafccwsaj7a4qkkzhttdn/com.atproto.lexicon.schema/cafe.dummy.lsky.getSession

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Who the caller is signed in as. The session cookie carries an opaque id and nothing else (ADR 0034 §2), so this is how a client learns its own DID — it cannot read one out of the cookie, by design. Answers 200 with `…

  • Return the authenticated viewer's identity along with any opaque flags clients may use to gate UI.

Lexicon Garden

@