Skip to main content

SDK Support

Beta

This feature is in beta. Core behavior is stable and ready to try, but some APIs or configuration may still evolve before general availability.

App Functions are primarily a server authoring surface. SDKs do not define functions or triggers; they call them.

Scope

This table compares who can call App Functions from an SDK. For language and package availability, see SDK Layer Matrix. For the latest cross-runtime admin certification, see SDK Verification Matrix.

CapabilityClient SDKAdmin SDKNotes
Call HTTP App FunctionsYesYesClient calls use the current user token. Admin calls use a Service Key.
Automatic auth context on function callsYesYesClient calls carry user auth. Admin calls carry backend authority.
Call privileged internal workflows from backend codeNoYesUse admin.functions.call() for Service Key-backed server workflows.
Define HTTP functionsNoNoFunctions are authored in the functions/ directory, not from an SDK.
Define DB, auth, or schedule triggersNoNoTrigger configuration is part of server code, not a client or admin SDK surface.
note

App Functions are the main exception to a pure client-vs-admin split: the authoring surface lives in your project code, while the SDK surfaces are only callers.

Use Client SDK When

  • your app needs to call HTTP functions with user auth
  • you want the current user token attached automatically
  • you are invoking app-facing custom endpoints

Use Admin SDK When

  • your backend needs to call functions with Service Key authority
  • you are chaining backend jobs or internal workflows
  • you need privileged function access outside the client auth model