computeInvoke
Invoke a compute module's client-callable export (a trigger with triggerType=invoke). Synchronous RPC: the module runs and returns its result directly (unlike the spatial send surface's dual-success model). Authorization: the export's invoke policy (authority tree) — or holders of 'manage_compute' only when no policy is set. Requires a valid app token.
computeInvoke(
appId: BigInt!
moduleName: String!
exportName: String!
paramsJson: String
): ComputeInvokeResult!
Arguments
computeInvoke.appId ● BigInt! non-null scalar
The app (tenant) that owns the module.
computeInvoke.moduleName ● String! non-null scalar
The module to invoke.
computeInvoke.exportName ● String! non-null scalar
The invoke export (must match an invoke trigger).
computeInvoke.paramsJson ● String scalar
JSON object of parameters passed to the module.
Type
ComputeInvokeResult object
The synchronous result of a computeInvoke call. Unlike the spatial send surface (dual-success), this is direct RPC: the module ran and this is its output.