Execute a Business Transaction
packages/api/src/routes/execute.ts. The route validates businessTransactionId, then delegates to application.execute(req.body) — ExecutionTrustApplication.execute in packages/runtime/src/ExecutionTrustApplication.ts.
A single call to
POST /execute runs the entire pipeline synchronously: accept the Business Transaction → execute it through the Runtime → generate a Verification → generate a Receipt → return the resulting Execution Trust Record. See ExecutionTrustApplication.execute for the exact sequence.Request body
The body is a fullBusinessTransaction:
Response 200
The complete ExecutionTrustRecord, including the appended execution, verification, and receipt.
Response 400
SDK equivalents
ExecutionApi in the TypeScript SDK — note it also exposes health(), mapped to GET /health, alongside execute().
Related
Execution
The concept this endpoint produces.
Execution Lifecycle
The full accept → execute → verify → receipt sequence.
Error Model
How failures during any stage of this pipeline are reported.
Basic Execution Guide
A walkthrough of this endpoint end to end.