Continue / revise - HarnessRouter Docs | HarnessRouter

State to save

Request

Send the follow-up text with previous_response_id and metadata.session_id. Use a new Idempotency-Key for the new follow-up request.

Open standard

Because a UHP session is a chain of responses, the revise flow only needs the last response id and session id you stored — the earlier turns' context comes back with the continuation. See the Sessions chapter in the UHP spec.