x-cpod-domain: events
Events
Platform event bus — subscribe to resource lifecycle events and retrieve historical event logs.
Try in explorer
client.eventsEvent
A platform event emitted by a resource lifecycle transition.
REST path
/api/v1/eventsOperations
subscribedispatchgetHistorySDK
// list — returns only your records; add filters/search:
await client.events.list()| Field | Type | Description |
|---|---|---|
| id* | uuid | Event UUID. |
| type* | string | Event type (e.g. 'pod.failed', 'workspace.created'). |
| resource_type* | string | Type of resource that emitted the event. |
| resource_id* | uuid | ID of the resource that emitted the event. |
| organization_id | uuid | Scoping organization. |
| workspace_id | uuid | Scoping workspace (if applicable). |
| payload | json | Event-specific payload data. |
| occurred_at* | date-time | When the event occurred. |