ai.newnal.illi.account.getSession

illi-service.newnal.id

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Describe the signed-in ILLI session: the account behind the illi_session cookie, which app it belongs to, and when the account joined the ILLI service. Served by the ILLI Service Node.",
      "errors": [
        {
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "app": {
              "knownValues": [
                "family",
                "device"
              ],
              "type": "string"
            },
            "avatarUrl": {
              "format": "uri",
              "type": "string"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "displayName": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "handle": {
              "format": "handle",
              "type": "string"
            },
            "serviceSphereJoinedAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "did",
            "app"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.account.getSession",
  "lexicon": 1
}

Validate Record

Validate a record against ai.newnal.illi.account.getSession

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:uztm7bi2ce42dez3uu3qafro
CID
bafyreic54deohymxiybluhpc6jyzbghunv6p67fqg4uzmtibigtlnbel4u
Indexed At
2026-10-14 13:54 UTC
AT-URI
at://did:plc:uztm7bi2ce42dez3uu3qafro/com.atproto.lexicon.schema/ai.newnal.illi.account.getSession

Similar Lexicons

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

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

  • ai.newnal.illi.service.account recordnot from the namespace authority

    An account that has joined the ILLI service. The rkey is the DID.

  • 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 lsk…

  • 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 `…

  • Get information about the current auth session. Requires auth.

Lexicon Garden

@