### Start the HITL content generation orchestration with default timeout (72 hours)
POST http://localhost:7071/api/hitl/run
Content-Type: application/json

{
  "topic": "The Future of Artificial Intelligence",
  "max_review_attempts": 3
}


### Start the HITL content generation orchestration with a short timeout (~4 seconds)
POST http://localhost:7071/api/hitl/run
Content-Type: application/json

{
  "topic": "The Future of Artificial Intelligence",
  "max_review_attempts": 3,
  "approval_timeout_hours": 0.001
}


### Replace INSTANCE_ID_GOES_HERE below with the value returned from the POST call
@instanceId=<INSTANCE_ID_GOES_HERE>

### Check the status of the orchestration
GET http://localhost:7071/api/hitl/status/{{instanceId}}

### Send human approval
POST http://localhost:7071/api/hitl/approve/{{instanceId}}
Content-Type: application/json

{
  "approved": true,
  "feedback": "Great article! The content is well-structured and informative."
}

### Send human rejection with feedback
POST http://localhost:7071/api/hitl/approve/{{instanceId}}
Content-Type: application/json

{
  "approved": false,
  "feedback": "The article needs more technical depth and better examples."
}

