From 74308e851dc1e904b15c364eecfd38a282b07ede Mon Sep 17 00:00:00 2001 From: Iris Clawd Date: Sun, 2 Aug 2026 15:35:21 +0000 Subject: [PATCH] docs: fix HITL webhook signature headers and payload format The documentation for HITL webhook callbacks had three mismatches with the actual implementation (crewai-plus WebhookNotifierJob): 1. Signature header names: docs said `X-Signature` and `X-Timestamp`, but the implementation sends `X-CrewAI-Signature` and `X-CrewAI-Timestamp`. 2. Payload structure: docs showed a nested format with `event`, `request`, and `deployment` objects. The implementation sends a flat payload with all fields at the top level. 3. Field names: docs used `emit_options` (array inside nested `request`), but the implementation sends `emit` at top level, along with `event_type` (not `event`), `status`, `output`, `response_token`, `deployment_id`, `deployment_name`, etc. These mismatches caused consumers to get 401 errors when validating signatures (wrong header names) and parse failures (wrong payload shape). Co-authored-by: Pedro Moura --- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- .../features/flow-hitl-management.mdx | 43 +++++++++---------- 88 files changed, 1848 insertions(+), 1936 deletions(-) diff --git a/docs/edge/ar/enterprise/features/flow-hitl-management.mdx b/docs/edge/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/edge/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/edge/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/edge/en/enterprise/features/flow-hitl-management.mdx b/docs/edge/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/edge/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/edge/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/edge/ko/enterprise/features/flow-hitl-management.mdx b/docs/edge/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/edge/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/edge/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/edge/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/edge/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/edge/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/edge/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.10.0/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.10.0/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.10.0/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.10.0/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.10.0/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.10.0/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.10.0/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.10.0/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.10.0/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.10.0/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.10.0/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.10.0/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.10.1/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.10.1/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.10.1/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.10.1/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.10.1/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.10.1/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.10.1/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.10.1/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.10.1/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.10.1/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.10.1/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.10.1/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.11.0/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.11.0/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.11.0/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.11.0/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.11.0/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.11.0/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.11.0/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.11.0/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.11.0/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.11.0/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.11.0/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.11.0/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.11.1/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.11.1/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.11.1/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.11.1/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.11.1/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.11.1/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.11.1/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.11.1/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.11.1/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.11.1/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.11.1/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.11.1/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.12.0/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.0/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.12.0/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.0/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.12.0/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.0/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.12.0/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.0/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.12.0/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.0/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.12.0/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.0/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.12.0/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.0/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.12.0/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.0/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.12.1/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.1/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.12.1/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.1/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.12.1/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.1/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.12.1/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.1/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.12.1/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.1/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.12.1/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.1/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.12.1/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.1/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.12.1/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.1/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.12.2/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.2/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.12.2/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.2/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.12.2/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.2/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.12.2/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.2/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.12.2/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.2/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.12.2/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.2/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.12.2/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.12.2/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.12.2/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.12.2/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.13.0/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.13.0/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.13.0/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.13.0/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.13.0/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.13.0/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.13.0/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.13.0/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.13.0/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.13.0/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.13.0/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.13.0/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.13.0/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.13.0/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.13.0/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.13.0/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.0/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.0/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.0/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.0/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.0/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.0/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.0/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.0/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.0/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.0/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.0/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.0/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.0/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.0/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.0/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.0/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.1/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.1/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.1/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.1/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.1/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.1/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.1/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.1/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.1/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.1/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.1/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.1/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.1/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.1/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.1/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.1/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.2/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.2/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.2/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.2/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.2/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.2/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.2/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.2/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.2/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.2/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.2/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.2/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.2/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.2/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.2/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.2/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.3/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.3/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.3/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.3/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.3/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.3/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.3/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.3/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.3/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.3/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.3/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.3/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.3/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.3/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.3/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.3/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.4/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.4/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.4/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.4/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.4/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.4/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.4/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.4/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.4/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.4/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.4/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.4/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.4/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.4/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.4/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.4/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.5/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.5/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.5/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.5/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.5/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.5/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.5/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.5/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.5/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.5/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.5/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.5/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.5/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.5/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.5/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.5/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.6/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.6/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.6/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.6/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.6/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.6/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.6/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.6/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.6/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.6/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.6/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.6/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.6/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.6/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.6/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.6/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.14.7/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.7/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.14.7/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.7/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.14.7/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.7/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.14.7/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.7/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.14.7/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.7/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.14.7/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.7/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.14.7/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.14.7/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.14.7/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.14.7/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.15.0/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.0/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.15.0/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.0/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.15.0/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.0/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.15.0/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.0/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.15.0/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.0/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.15.0/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.0/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.15.0/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.0/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.15.0/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.0/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.15.1/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.1/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.15.1/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.1/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.15.1/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.1/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.15.1/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.1/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.15.1/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.1/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.15.1/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.1/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.15.1/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.1/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.15.1/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.1/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.15.2/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.2/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.15.2/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.2/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.15.2/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.2/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.15.2/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.2/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.15.2/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.2/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.15.2/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.2/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.15.2/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.2/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.15.2/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.2/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.15.3/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.3/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.15.3/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.3/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.15.3/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.3/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.15.3/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.3/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.15.3/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.3/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.15.3/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.3/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.15.3/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.3/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.15.3/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.3/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.15.4/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.4/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.15.4/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.4/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.15.4/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.4/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.15.4/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.4/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.15.4/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.4/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.15.4/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.4/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.15.4/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.4/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.15.4/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.4/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação diff --git a/docs/v1.15.5/ar/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.5/ar/enterprise/features/flow-hitl-management.mdx index 6b4096abf6..a5546e5705 100644 --- a/docs/v1.15.5/ar/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.5/ar/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ class ContentApprovalFlow(Flow): ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | الترويسة | الوصف | |--------|-------------| -| `X-Signature` | توقيع HMAC-SHA256: `sha256=` | -| `X-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | +| `X-CrewAI-Signature` | توقيع HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | الطابع الزمني Unix عند توقيع الطلب | #### التحقق diff --git a/docs/v1.15.5/en/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.5/en/enterprise/features/flow-hitl-management.mdx index 36eb4325c4..a19caccc0f 100644 --- a/docs/v1.15.5/en/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.5/en/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ All webhooks receive a JSON payload with this structure: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Please review this article for publication.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Please review this article for publication.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Each webhook request includes these headers: | Header | Description | |--------|-------------| -| `X-Signature` | HMAC-SHA256 signature: `sha256=` | -| `X-Timestamp` | Unix timestamp when the request was signed | +| `X-CrewAI-Signature` | HMAC-SHA256 signature: `sha256=` | +| `X-CrewAI-Timestamp` | Unix timestamp when the request was signed | #### Verification diff --git a/docs/v1.15.5/ko/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.5/ko/enterprise/features/flow-hitl-management.mdx index adb8ee492d..9e1f6b2284 100644 --- a/docs/v1.15.5/ko/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.5/ko/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Flow가 인간 피드백을 위해 일시 중지되면, 요청 데이터를 자 ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "이 기사의 게시를 검토해 주세요.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "이 기사의 게시를 검토해 주세요.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Content-Type: application/json | 헤더 | 설명 | |------|------| -| `X-Signature` | HMAC-SHA256 서명: `sha256=` | -| `X-Timestamp` | 요청이 서명된 Unix 타임스탬프 | +| `X-CrewAI-Signature` | HMAC-SHA256 서명: `sha256=` | +| `X-CrewAI-Timestamp` | 요청이 서명된 Unix 타임스탬프 | #### 검증 diff --git a/docs/v1.15.5/pt-BR/enterprise/features/flow-hitl-management.mdx b/docs/v1.15.5/pt-BR/enterprise/features/flow-hitl-management.mdx index d1f05e55fc..53b35bbeb3 100644 --- a/docs/v1.15.5/pt-BR/enterprise/features/flow-hitl-management.mdx +++ b/docs/v1.15.5/pt-BR/enterprise/features/flow-hitl-management.mdx @@ -387,27 +387,26 @@ Todos os webhooks recebem um payload JSON com esta estrutura: ```json { - "event": "new_request", - "request": { - "id": "550e8400-e29b-41d4-a716-446655440000", - "flow_id": "flow_abc123", - "method_name": "review_article", - "message": "Por favor, revise este artigo para publicação.", - "emit_options": ["approved", "rejected", "request_changes"], - "state": { - "article_id": 12345, - "author": "john@example.com", - "category": "technology" - }, - "metadata": {}, - "created_at": "2026-01-14T12:00:00Z" + "event_type": "new_request", + "id": "550e8400-e29b-41d4-a716-446655440000", + "status": "pending", + "flow_id": "flow_abc123", + "method_name": "review_article", + "message": "Por favor, revise este artigo para publicação.", + "output": "Content to review...", + "emit": ["approved", "rejected", "request_changes"], + "state": { + "article_id": 12345, + "author": "john@example.com", + "category": "technology" }, - "deployment": { - "id": 456, - "name": "Content Review Flow", - "organization_id": 789 - }, - "callback_url": "https://api.crewai.com/...", + "metadata": {}, + "created_at": "2026-01-14T12:00:00Z", + "callback_url": "https://app.crewai.com/crewai_plus/api/v1/human_feedback_requests/{id}/respond?token={response_token}", + "response_token": "secure-token-string", + "deployment_id": 456, + "deployment_name": "Content Review Flow", + "organization_id": 789, "assigned_to_email": "reviewer@company.com" } ``` @@ -445,8 +444,8 @@ Cada requisição de webhook inclui estes headers: | Header | Descrição | |--------|-----------| -| `X-Signature` | Assinatura HMAC-SHA256: `sha256=` | -| `X-Timestamp` | Timestamp Unix de quando a requisição foi assinada | +| `X-CrewAI-Signature` | Assinatura HMAC-SHA256: `sha256=` | +| `X-CrewAI-Timestamp` | Timestamp Unix de quando a requisição foi assinada | #### Verificação