Athena

Athena.js SDK

JavaScript and TypeScript SDK for Athena gateway/data APIs and Athena Auth APIs.

@xylex-group/athena is the shared JS and TS client for two surfaces:

  • Athena gateway and database operations
  • Athena Auth client bindings

Use the runtime-first pages when you need a client working quickly, then move into the typed registry and generator pages once schema drift becomes the real problem.

Open This First If...

Reading Tracks

Runtime-first onboarding

  1. Getting Started
  2. findMany AST and server contract
  3. Select column aliases
  4. API reference
  5. Method surface reference

Typed model architecture

  1. Type surface manifest
  2. Typed schema registry
  3. Generator config
  4. API reference

Athena Auth client

  1. Auth overview
  2. Domain pages under /auth/* for sessions, users, organizations, admin, passkeys, two-factor, and callbacks
  3. API reference when you need the shared envelope and client types

React and operational runtime

  1. React hook
  2. Errors and retries
  3. Method surface reference for @xylex-group/athena/react, /cookies, and /utils