Merge branch 'main' into release/v1.0.0

This commit is contained in:
Tony Kipkemboi
2025-10-01 10:53:44 -04:00
committed by GitHub

View File

@@ -22,6 +22,45 @@ Human-in-the-Loop (HITL) is a powerful approach that combines artificial intelli
<Frame> <Frame>
<img src="/images/enterprise/crew-webhook-url.png" alt="Crew Webhook URL" /> <img src="/images/enterprise/crew-webhook-url.png" alt="Crew Webhook URL" />
</Frame> </Frame>
Example with Bearer authentication:
```bash
curl -X POST {BASE_URL}/kickoff \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"topic": "AI Research"
},
"humanInputWebhook": {
"url": "https://your-webhook.com/hitl",
"authentication": {
"strategy": "bearer",
"token": "your-webhook-secret-token"
}
}
}'
```
Or with Basic authentication:
```bash
curl -X POST {BASE_URL}/kickoff \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"inputs": {
"topic": "AI Research"
},
"humanInputWebhook": {
"url": "https://your-webhook.com/hitl",
"authentication": {
"strategy": "basic",
"username": "your-username",
"password": "your-password"
}
}
}'
```
</Step> </Step>
<Step title="Receive Webhook Notification"> <Step title="Receive Webhook Notification">
@@ -76,4 +115,4 @@ HITL workflows are particularly valuable for:
- Complex decision-making scenarios - Complex decision-making scenarios
- Sensitive or high-stakes operations - Sensitive or high-stakes operations
- Creative tasks requiring human judgment - Creative tasks requiring human judgment
- Compliance and regulatory reviews - Compliance and regulatory reviews