Finalize Workflow Run Outputs (M2M, fail-closed on the caller's side)
Writes this run's terminal outputs/status_code. This route itself is a plain single-attempt write - the fail-closed retry-then-escalate discipline described in the design spec belongs to the caller (agent-runtime), which is expected to retry this call and log at ERROR on exhausted retries, not to this route. Authenticated with a BundleAccessToken for the SAME deployment the run's Conversation belongs to.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Path Parameters
run_id*Run Id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/bundler/workflow-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/finalize" \ -H "Content-Type: application/json" \ -d '{ "outputs": {} }'Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}