ai.newnal.illi.account.getSession

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 Agent Node.

Details · query
Kindquery
Authorityaccount.illi.newnal.ai
Indexed

Query

query · GET

Output

application/json

app

requiredstring
  • knownValues: family | device

avatarUrl

string · uri

did

requiredstring · did
  • maxLength: 640
  • maxGraphemes: 64

handle

string · handle

serviceSphereJoinedAt

string · datetime

Errors

AuthRequired

No description in schema.

Similar lexicons

semantic match

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

    record not from the namespace authority

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

  • 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 `signedIn: false` rather than 401 for an anonymous caller: not being signed in is an ordinary state of the application, not an error in the request.

  • 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.

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