Platform Event Fields
Migrate Platform Event Definitions with Metadata API
Get the Event Schema with REST API
Get the Event Schema with Pub/Sub API
Encrypting Platform Event Messages at Rest in the Event Bus
Previous Versions
To discover the event fields of your platform event, get the event schema. You can get the event schema through REST API or Pub/Sub API.
Get the Event Schema with REST API
Use REST API eventschema resource to retrieve the event schema by using the event name or the schema ID.
Get the Event Schema with Pub/Sub API
Use Pub/Sub API to retrieve the event schema with the GetSchema RPC method and pass in a schema ID.