workflow.succeeded
You will receive this event when a Data API workflow succeeds for an object.
Example Payload
Section titled “Example Payload”{ "type": "workflow.succeeded", "namespace": "users", "id": "user_12345", "request_id": "req_01h2m7qdmdjckc30e1mnq6xqfd", "url": "https://app.safetykit.com/t/example/data-api/namespaces/users/user_12345/execution_abc", "metadata": { "customer_tier": "enterprise" }, "output": { "actions": ["suspend_account"], "labels": [ { "label": "fraud.risk_high", "explanation": "High-risk behavior pattern detected", "confidence": "medium" } ], "fields": { "risk_score": 0.92 } }}Fields
Section titled “Fields”type: Event type discriminator (workflow.succeeded)namespace: Namespace where the object was processedid: Object identifierrequest_id: Request identifier from ingestionurl: Link to the object view in SafetyKitmetadata: Optional metadata derived from ingested object metadataoutput.actions: Actions produced by workflow/rulesoutput.labels: Labels produced by workflowoutput.fields: Optional structured output fields