Select the response contract
Choose HTTP under Options → Response mode. Set the success status and decide which Component output is part of your public contract.
For a Component with a visible element named
Response:
Component · Response
popResult to Response to return:
noResult without popResult for a side-effect-only operation.
Return a deliberate status
Normal configured success statuses are200–299. Component code can use
api.throw(status, body) for an intentional status and body, including a business
error. Treat it as response control; do not catch and discard it accidentally.
Component · Response
202 with a durable operation
identifier and let the client observe that operation. An HTTP connection is not a
durable execution queue.
Validate before execution
A request guard validates the structuredbody, query, parameters and headers
before the Component runs. Set a safe validation error body and status when your
client requires a stable error contract. See the
JSON Validator guide for RevoEngine validator syntax;
it differs from the JSON Schema used to define an OpenAI function tool.

