Docs

Docs

x-cpod-domain: events

Events

Platform event bus — subscribe to resource lifecycle events and retrieve historical event logs.

Try in explorer client.events

Event

A platform event emitted by a resource lifecycle transition.

REST path/api/v1/events
Operations
subscribedispatchgetHistory
SDK
// list — returns only your records; add filters/search:
await client.events.list()
FieldTypeDescription
id*uuidEvent UUID.
type*stringEvent type (e.g. 'pod.failed', 'workspace.created').
resource_type*stringType of resource that emitted the event.
resource_id*uuidID of the resource that emitted the event.
organization_iduuidScoping organization.
workspace_iduuidScoping workspace (if applicable).
payloadjsonEvent-specific payload data.
occurred_at*date-timeWhen the event occurred.