跳转到内容

GET /status/{kickoff_id}

GET/status/{kickoff_id}

Get Execution Status

**📋 Reference Example Only** - *This shows the request format. To test with your actual crew, copy the cURL example and replace the URL + token with your real values.* Retrieves the current status and results of a crew execution using its kickoff ID. The response structure varies depending on the execution state: - **running**: Execution in progress with current task info - **completed**: Execution finished with full results - **error**: Execution failed with error details

Parameters
NameInTypeDescription
kickoff_idrequiredpathstringThe kickoff ID returned from the /kickoff endpoint
Responses
200Successfully retrieved execution status
application/json
running
{
  "status": "running",
  "current_task": "research_task",
  "progress": {
    "completed_tasks": 1,
    "total_tasks": 3
  }
}
completed
{
  "status": "completed",
  "result": {
    "output": "Comprehensive travel itinerary for 7 days in Japan focusing on tech culture...",
    "tasks": [
      {
        "task_id": "research_task",
        "output": "Research findings on tech destinations in Japan...",
        "agent": "Travel Researcher",
        "execution_time": 45.2
      },
      {
        "task_id": "planning_task",
        "output": "7-day detailed itinerary with activities and recommendations...",
        "agent": "Trip Planner",
        "execution_time": 62.8
      }
    ]
  },
  "execution_time": 108.5
}
error
{
  "status": "error",
  "error": "Task execution failed: Invalid API key for external service",
  "execution_time": 23.1
}
401Authentication failed - check your bearer token
application/json
404Kickoff ID not found
application/json
500Internal server error
application/json