LakeQL
  • Overview
Server Setup
  • Create Server
  • Define Config
  • Yoga Configuration
  • createLakeQLApp
Authentication
  • Authorization Model
  • JWT Authentication
  • Permissions
  • Scope Authorization
  • Trino User Impersonation
  • Debugging Identity
Schema Builder
  • Builder Configuration
  • Scalar Types
  • Comparison Types
  • Pagination
  • Input Validation
Customization
  • Custom Queries & Mutations
  • Extending Core
  • CORS Configuration
  • Error Handling
  • API Reference
GitHub
LakeQL
  1. API

API

Build and configure the LakeQL GraphQL server with @lakeql/api.

@lakeql/api builds the GraphQL server. It handles schema generation, authentication, scalar and comparison types, pagination, and customization hooks. This section runs from first setup through advanced customization.

Overview

What @lakeql/api provides and how it fits into a project.

Server Setup

Compose and start the LakeQL GraphQL server.

Authentication

Validate tokens, resolve identity, enforce permissions, and impersonate users.

Schema Builder

How the GraphQL schema is generated — scalars, comparisons, pagination, validation.

Customization

Custom queries and mutations, extending core, CORS, and error handling.

API Reference

Complete reference for the @lakeql/api public API.