Runtime ProtocolPost Message Response

Post Message Response

POST/runtime/messages and POST /runtime/messages/:id

Preferred pattern

Use path variant POST /runtime/messages/:id to respond to a specific message deterministically.

Body:

json
{ "content": "Agent reply" }

Idempotency/overwrite guard

If message already has status responded, endpoint returns success with alreadyResponded: true and does not overwrite response.

Webhooks

On successful response update, Rooaak dispatches message.responded webhook (best-effort).