hook.acknowledge-event ​
Acknowledge webhook event delivery from DevKit to local target
Acknowledge that DevKit forwarded a webhook event to its local target.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-hookredirect |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run id |
redirect_uuid | uuid | Yes | — | UUID of the WebhookRedirect that received the event |
event_uuid | uuid | Yes | — | UUID of the WebhookEvent being acknowledged |
local_status_code | integer | Yes | — | HTTP status returned by the local target (0 = no response) |
local_response_body | string | No | — | Truncated body returned by the local target |
forwarded_at | string | No | — | ISO-8601 timestamp the DevKit forwarded the event |
error_message | string | No | — | Error message when the local target failed |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run id |
redirect_uuid | string | No | — | — |
event_uuid | string | No | — | — |
local_status_code | integer | No | — | — |
local_response_body | string | No | — | — |
forwarded_at | string | No | — | — |
acknowledged | boolean | No | — | — |
workflow_state | string | No | — | — |
delivery_time_seconds | float | No | — | — |
parent_workflow_uuid | string | No | — | — |
failure_reason | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | json | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
error_message | string | No | — | — |
success | boolean | No | — | — |
failed_at | string | No | — | — |
failure_type | string | No | — | — |
retried_from | string | No | — | — |
retry_count | integer | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
acking | Yes | No | — | ack | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
acking | ack | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "hook.acknowledge-event",
"initial_data": {
"redirect_uuid": "value",
"event_uuid": "value",
"local_status_code": 123
}
}