Documentation

SDK overview

A compact map of the Relpin SDK surface for TypeScript and Python apps.

Beta Updated 2026-06-11 Raw Markdown
Docs tree

The Relpin SDK gives generated apps a governed way to work with runtime context, authenticated sessions, data access, and app API metadata.

TypeScript SDK

The TypeScript SDK exports helpers for:

  • runtime context
  • server-side auth and permission checks
  • governed database access
  • API surface metadata
  • route manifest conversion

Start with:

import { getContext, withAuth, getWorkspaceDb } from '@app-builder-platform/relpin-sdk'

Python SDK

The Python SDK supports FastAPI apps with:

  • RelpinDb for governed query transport
  • table-read helpers for common select/count shapes
  • RelpinReadinessMiddleware for preview readiness

Start with:

from relpin_sdk import RelpinDb, RelpinReadinessMiddleware

Boundary

The SDK is not a shortcut around platform governance. It is the way generated app code reaches governed platform services without receiving raw secrets.