Base44 SDK Quick Reference
Compact method signatures for all SDK modules. Verify against this before writing code.Auth (base44.auth.*)
Entities (base44.entities.EntityName.*)
SortField<T>: -fieldName for descending (e.g., -created_date). Max 5,000 per request for list/filter.
Functions (base44.functions.*)
base44.asServiceRole.functions.invoke() for admin access.
Integrations (base44.integrations.Core.*)
InvokeLLM; chat product for users → base44.agents; task-with-tools agent (code) → aiGateway; one default image → GenerateImage; simple text-to-video → GenerateVideo; multiple/configured/edited images or advanced video → aiGateway; text-to-speech → browser/Core/gateway selection; classify/score/route → aiGateway Jev (see below).
AI Gateway (base44.asServiceRole.aiGateway.*)
openai(default): chat completions for code agents (modelautomaticby default),images.generate/images.edit, asyncvideos.create/videos.retrieve(specific model required), andaudio.speech.create(completed audio bytes; see speech guide).typesafe:experimental_evaluate(ai7.0.105+) withtypesafe.evaluationModel("jev")for classify/score/route decisions.- Set
maxRetries: 0on image, video, speech, and evaluation calls. See ai-gateway.md.
Custom Integrations (base44.integrations.custom.*)
"method:/path" (e.g., "get:/contacts", "post:/users/{id}")
Analytics (base44.analytics.*)
App Logs (base44.appLogs.*)
Users (base44.users.*)
Service Role Connectors (base44.asServiceRole.connectors.*)
Backend only, service role required. App-scoped (shared account).
npx base44 connectors list-available to see all available integration types.
SSO (base44.asServiceRole.sso.*)
Backend only, service role required.
getIdToken returns the current app user’s OIDC ID token as a raw string, and the service-role client must act on behalf of the same user.
Service Role Access
Backend functions only. Prefix any module withasServiceRole for admin access: