{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"harness-api forwards the decision into the owning microVM via the inbound runtime.v1.OHR.ResolveHITL RPC (dialed through the guest-fronting proxy), which unblocks the gated agent action. The resolution is also echoed to all attached clients as a HITLResolved event on StreamSession. Returns 204 No Content on success.","properties":{"path":{"type":"object","properties":{"session_id":{"type":"string","examples":["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],"description":"The session UUID."},"request_id":{"type":"string","examples":["hitl_example"],"description":"The HITL request identifier."}},"required":["session_id","request_id"],"additionalProperties":false},"headers":{"type":"object","properties":{"X-Device-UUID":{"type":"string","examples":["device-uuid-example"],"description":"Optional hardware device id forwarded by doctl. Recorded on the resulting HITL decision."}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/resolve_hitl_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"resolve_hitl_request":{"type":"object","properties":{"outcome":{"$ref":"#/definitions/hitl_outcome"},"reason":{"type":"string","description":"Optional free-text reason. Captured in the audit trail; not interpreted.","examples":["example"]},"source":{"$ref":"#/definitions/resolution_source"}},"required":["outcome"]},"hitl_outcome":{"type":"string","enum":["HITL_OUTCOME_UNSPECIFIED","HITL_OUTCOME_APPROVE","HITL_OUTCOME_REJECT","HITL_OUTCOME_DEFER"],"default":"HITL_OUTCOME_UNSPECIFIED","description":"HITLOutcome is the user's decision on a HITL request. DEFER backs off this attempt without treating it as a rejection.","examples":["HITL_OUTCOME_UNSPECIFIED"]},"resolution_source":{"type":"string","enum":["RESOLUTION_SOURCE_UNSPECIFIED","RESOLUTION_SOURCE_INLINE_KEYSTROKE","RESOLUTION_SOURCE_OUT_OF_BAND"],"default":"RESOLUTION_SOURCE_UNSPECIFIED","description":"How a HITL resolution was triggered. Defaults to RESOLUTION_SOURCE_OUT_OF_BAND when omitted.","examples":["RESOLUTION_SOURCE_UNSPECIFIED"]}}},"name":"ResolveHITL records the user's decision on a pending HITL request.","id":"digitalocean.harness_post_session_hitl","example":{"path":{"session_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","request_id":"hitl_example"},"body":{"outcome":"HITL_OUTCOME_UNSPECIFIED"}},"maxRequests":1,"summary":false}}