🎉 Native Google & Apple sign-in is here → read the guide
API ReferenceOverview

API Reference

This section documents the complete public API of Supabase KMP — every client interface, extension function, data type, enum, and value class that ships in the 1.0.0 artifacts. Each page is organized by module and lists real signatures, every parameter, the return type, and a short example.

Looking to learn a feature rather than look up a symbol? Start with the task-oriented guides — Getting Started, Database, Authentication, Storage, Realtime. This reference is the exhaustive companion to those.

How to read these pages

Every fallible call returns a SupabaseResult<T> — a sealed Success<T> / Failure type (it is not kotlin.Result). You branch with onSuccess / onFailure and transform with map / flatMap / recover; no exceptions leak onto the happy path. See Results & Errors for the full contract, and the Core reference for the type itself.

Each module is published independently under the group io.github.androidpoet — depend only on what you use.

Modules

ReferenceArtifactWhat it covers
Coresupabase-coreSupabaseResult, error model, value-class IDs, typed filter DSL
Clientsupabase-clientSupabase.create, configuration, HTTP transport
Authenticationsupabase-authEmail/phone/OTP, OAuth, MFA, PKCE, sessions, passkeys
Auth Adminsupabase-auth-adminService-role user management (server-side only)
Native Sign-Insupabase-auth-google · -apple · -passkeyNative Google / Apple / WebAuthn ceremonies
Databasesupabase-databasePostgREST CRUD, RPC, typed read/write helpers
Storagesupabase-storageBuckets, objects, signed & public URLs
Realtimesupabase-realtimeWebSocket channels, postgres changes, broadcast, presence
Edge Functionssupabase-functionsTyped edge-function invocation
End-to-End Encryptionsupabase-e2eeECDH → HKDF → AES-256-GCM client-side crypto
Offline Syncsupabase-sync-core · -sqldelight · -sync · -pagingOffline-first pull/merge/push engine
Codegensupabase-codegen · Gradle pluginGenerate typed models from your schema