Events

Platform events emitted by deployments, workflows, and integrations. Used for audit trails and webhook triggers.

The Event Object

FieldTypeDescription
idstringUnique event ID with prefix evt_ (e.g. evt_wf_001)
typestringDot-namespaced event type (e.g. workflow.completed, agent.run.failed)
projectIdstringID of the project that emitted this event
sourcestringComponent that emitted the event: workflow | agent | integration | deployment | system
payloadobjectEvent-specific payload containing relevant resource IDs and state changes
severitystringOne of: info | warning | error | critical
createdAtdatetimeISO 8601 UTC timestamp when the event was emitted

Endpoints

Returns the platform event log, newest first.

Parameters

ParameterInTypeRequiredDescription
projectIde.g. proj_rpm_001querystringrequiredProject ID
typee.g. workflow.completedquerystringoptionalEvent type filter
sincee.g. 2026-03-17T00:00:00ZquerystringoptionalISO 8601 timestamp

Request

curl "https://api.healthcloud.ai/v1/events?projectId=proj_rpm_001&type=workflow.completed" \
  -H "Authorization: Bearer hc_test_sk_demo_live_xxxxxx"

Response

Response200
{
  "data": [
    {
      "id": "evt_wf_001",
      "type": "workflow.completed",
      "projectId": "proj_rpm_001",
      "payload": { "workflowId": "wf_prior_auth_v2", "status": "approved" },
      "createdAt": "2026-03-18T11:55:00Z"
    }
  ],
  "meta": { "total": 4821 }
}

Related Resources