AMP Kick Off With Human-in-the-Loop Review
A 4-step recipe with CrewAI Cloud. We can help you get access.
Recipe · 4 steps
AMP Kick Off With Human-in-the-Loop Review
with CrewAI Cloud
Kick off a crew, deliver human feedback on a paused task, then poll to completion.
- Launch the crew execution with the supplied inputs and capture the kickoff_id, which doubles as the execution_id for resume.
- Poll the execution status until it is no longer running, at which point a task may be awaiting human review.
- Resume the paused execution by delivering the reviewer's feedback on the named task, approving it to proceed or returning it to retry.
- Poll the execution status again after feedback was delivered, looping while running and ending once the execution settles into completed or error.
What you'll need to have ready
- bearerToken: Bearer token from the AMP dashboard Status tab.
- inputs: Key-value pairs of all required inputs for the crew.
- taskId: Identifier of the task awaiting human feedback.
- humanFeedback: Feedback to incorporate as additional context for the task.
- isApprove: True to proceed; false to retry the task with the feedback.
For your developer
Arazzo workflow crewai-cloud:kickoff-with-hitl-review, 4 operations: kickoffCrew → getKickoffStatus → resumeKickoff → getKickoffStatus. Specs on APIs.io.