capabilities.work

AMP Kick Off and Poll Until Complete

A 4-step recipe with CrewAI Cloud. We can help you get access.

Recipe · 4 steps

AMP Kick Off and Poll Until Complete

Kick off a crew and poll status until it completes or errors.

  1. Launch a crew execution with the supplied inputs and capture the kickoff_id used to poll status.
  2. Poll the execution status. While the status is running, loop back and poll again; when it is completed continue to the result, and when it is error branch to the error handler.
  3. Re-read the completed status to surface the final aggregated crew output, per-task results, and total execution time.
  4. Re-read the errored status to surface the human-readable error message and the elapsed execution time before the failure.
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.
  • meta: Optional metadata to attach to the kickoff (echoed in events).
For your developer

Arazzo workflow crewai-cloud:kickoff-and-poll-until-complete, 4 operations: kickoffCrew → getKickoffStatus → getKickoffStatus → getKickoffStatus. Specs on APIs.io.