Definition fields
Execution policy
Open Settings → Endpoints to configure instance execution defaults. This is a separate settings tab; shared-library settings remain under Components. Instance administrators can select Caller or an active Service Account, including the protected built-in System account. Each Endpoint can inherit those defaults or override its permission identity. Existing instances without saved execution settings receive System execution authority and Caller business identity automatically. Existing Component and library versions remain runnable; no client configuration change is required. Saved settings and Job defaults are preserved. New instances start with Caller Endpoint authority. Later executable changes remain subject to administrator approval when running with administrator Service Account authority. The Execution section uses three controls:
The Execution preview simulates the selected settings for your current user before saving. It shows the caller, execution account, business identity and Job executor, with examples for database and user reads, Storage, Vault, nested Components, Jobs, Events and Webhooks. A known role check does not confirm access to a particular Database or Storage object: resource ACLs, personal ownership, source approval and fresh runtime checks still apply. Missing accounts and unavailable permission details are shown separately.
For an application that needs broad instance access while keeping existing per-user filters, select System as authority and Caller as execution identity. An invoke-only caller cannot read Users in Caller mode without an IAM read role. Selecting another business identity alone does not change that permission check.
CALLER checks runtime operations against the invoking account. Administrator callers retain their own permissions in this mode and do not require Service Account code approval. SERVICE_ACCOUNT uses the saved account’s current roles and resource access. The authenticated caller still needs ENDPOINT_INVOKE or INSTANCE_ADMIN; a human application user does not need platform access enabled to invoke an Endpoint. Request input cannot select the execution account.
These settings do not change direct Platform API, MCP, or ad-hoc Sandbox authority. Those operations use the authenticated caller. When such a caller explicitly starts a saved Job, that Job’s execution policy still determines its executor.
Choose the business identity independently with
currentUser. CALLER is the instance default and keeps api.currentUser() compatible with code that filters data or records business actions for the invoking person. EXECUTION_ACCOUNT returns the selected execution account instead. Endpoint INHERIT follows the instance choice. This setting does not grant permissions or replace the initiating caller in the audit trail.
SERVICE_ACCOUNT execution with System or another Service Account holding INSTANCE_ADMIN approves the instance’s current executable Component and library code. Later source changes require instance-administrator approval before that changed code can execute with the configured Service Account’s administrator permissions. An unchanged save, or a change only to currentUser or metadata, does not approve new source; approval through these settings requires a changed permission identity or executable Component binding.
Native account, key, and permission administration still checks the caller’s own authority. Selecting an execution account does not delegate those management operations.
options fields
Prefer equivalent
enum/const, type, length, numeric bounds and supported date/time rules before adding a regex to a guard. Even one simple pattern can roughly double request-preparation time or more for small inputs; this is not a fixed multiplier for total HTTP latency. Preserve required validation semantics and bound string length when a pattern is necessary. See rule selection and measured examples.
A component-backed example
A static example
Delivery rules
- Validate route conflicts, rejected validation cases, selected Component version, and intended response shape while inactive. Confirm whether the binding is latest-active or an exact pin.
- Activate only after the generated runtime OpenAPI document and client examples reflect the intended public contract.
- Preserve request compatibility when changing a live path. Create a new versioned path instead of changing established parameter semantics unexpectedly.
- Treat an accepted control-plane write as a definition update—not proof that a caller has completed a runtime invocation.

