instance.endpoints.sandbox from GET /api/v1/me or use the URL exposed by the platform. The Node.js SDK and CLI discover it automatically.
HTTP surface
The exact roles are operation-specific. Component authoring routes require component access; stored execution and SDK dispatch also accept the relevant automation or endpoint execution roles.
Debug transient TypeScript
Execute saved code
readOnly: true to block platform writes or readOnly: false for authorized full execution. The requested mode is fixed before code runs. External HTTP requests remain real in either mode; non-GET requests to Revo hosts require full execution. Full execution requires a component execution role or equivalent. Omit componentVersion to use the normal resolved version, or provide it when a workflow intentionally verifies an exact low-code revision.
CLI 1.0.19 sends the explicit mode with revo component debug <id> --read-only=true|false; its default is read-only. The old sandbox production field and runtime debug toggles are removed. Upgrade callers together with the backend.
Streaming contract
Streaming debug and execute usetext/event-stream. Consumers must parse named events rather than assuming every frame is a message:
log— structuredapi.log(...)output;result— the single successful terminal payload;error— the single failed terminal payload;done— completion marker sent before close.
error, then done with error: true, and does not emit a normal result. Comment frames are heartbeats and can be ignored.
The stream is not durable history. Persist the returned Execution ID and use platform execution/history views for later diagnosis.
backgroundProcessing is an explicit debug-stream option for workflows that should continue after the client leaves.
Prefer supported clients
Userevo component debug --stream for local component work and @revoengine/sdk for runtime calls. Direct /v1/runtime/call integration requires contract-revision negotiation, call correlation, batch limits, and binary/date wire encoding; it is not a general-purpose JSON endpoint.
Execution identity
Direct debug and saved-component execution requests, including their streaming variants, accept an optionalcallStrategy:
caller(default) runs with the current caller behavior.endpointsuses the global endpoint execution policy.jobsuses the global job execution policy.
--call-strategy=caller|endpoints|jobs. You can also
set callStrategy in .revoengine/debug.json; the command-line flag takes precedence.
VS Code exposes the same setting in the debugger configuration. Both default to caller.
The setting is independent of readOnly; choosing a policy does not enable writes.
Execute all elements or one selected element
Debug and saved execution, including both streaming variants, accept optionalexecutionMode: 'all' | 'selected' and elementKey: string. Omitted mode or all retains ordered execution of every element, including when an element key is supplied alone. Selected execution requires an exact, case-sensitive key identifying one existing, uniquely keyed CODE_JS or CODE_TS element.
For example, add "executionMode": "selected", "elementKey": "Conversation" to a saved execution request when the Component contains an independent Conversation element. For transient debugging, supply the full original source and select one of its keys. No predecessors or dependencies execute implicitly; previous element results are not restored. Full source remains the basis for access, approval and artifact identity. Deploy the supporting backend before enabling selection in clients.
