close_loop: close a loop that DID produce a signal. Requires actual_signal. Preserves actual_signal and actual_signal_at, stores the interpretation, sets lifecycle_status to resolved, emits an action_resolved history event and removes the action from active prompt groups. Use close-without-signal only when no signal ever arrived.

post/actions/{id}/close-loop

Request

  • Base URL: https://forbiz.io/api/public/agent
  • URL: https://forbiz.io/api/public/agent/actions/{id}/close-loop
  • Auth: HTTP bearer

Path parameters

idstring required

Headers

Idempotency-Keystring

Recommended on every mutating request. A replay with the same key is NOT applied twice: the server answers { ok, idempotent_replay: true, first_seen_at, status } describing the first attempt.

Request body

outcomeStatus'expected' | 'partial' | 'unexpected' | 'deferred' required
learningNotestring

Response

Resolved

okboolean
already_resolvedboolean

Changes

No recorded changes to this operation across all 1 revision of this API.