Skip to content

Platform events

The platform can tell you when something changes in your tenant: an app was deployed, a member's access changed, a quota was hit. Events arrive on a reserved topic named rso-events, so you receive them the same way as your own messages: in a queue, or pushed to a webhook.

Subscribe

Create a queue and subscribe it to rso-events, with a filter if you only want some events:

mutation {
  createQueue(name: "platform-events") { name }
  createTopicSubscription(input: {
    topic: "rso-events", queue: "platform-events", filter: "apps.#"
  }) { id }
}

The topic appears with the first subscription or webhook on it; there is nothing to switch on. A webhook takes topic: "rso-events" in the same way.

The event

{
  "id": "b0a3c1e2-…",
  "type": "apps.app.created",
  "time": "2026-11-22T14:31:20.412Z",
  "tenant": "<tenant-id>",
  "actor": "ci-deployer",
  "actorType": "service_account",
  "resource": { "type": "app", "name": "checkout" },
  "data": { }
}
  • type is also the routing key, so filters work on it: apps.*.created, iam.#.
  • data holds the arguments of the operation as the audit log records them: passwords, tokens, keys and other secret values are redacted.
  • The query platformEvents { types { type description } } lists every event type, and so does rso events types. Instance events are named instances.instance.*, for example instances.instance.started.

What is announced

  • Every successful change made through the console, the API, Terraform or CI. A failed or refused operation is not an event.
  • quotas.quota.exceeded when a request was refused for a quota.
  • ai.tokenQuota.reached when the monthly AI token quota is used up, at most once an hour.

Not announced yet: budget thresholds, backup results, and the results of scheduled job runs.

Guarantees

Best effort. Events are a notification, not a record. Publishing an event never delays or fails the operation it describes, so an event can be lost, for example while the messaging service is briefly unavailable. Use the audit log when you need the complete history, and treat events as a prompt to look.

Once an event is in your queue, the queue's own guarantees apply.

Permissions

Seeing the event types needs read access to queues. Subscribing needs the permission to manage subscriptions (or webhooks), which editors hold by default.