Event Schemas
Create an event schema
Create an event schema with attributes and dimensions to process events.
POST
/
event_schema
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Request to create event schema
Name of the event. Must be unique for an organization.
Maximum length:
50
Description of the event
Maximum length:
255
List of fields that can be used for filtering in usage meter
Template used to generate event id based on event payload
Response
201 - application/json
Structure of an event schema
Name of the event. Must be unique for an organization.
Maximum length:
50
Version of event schema
Required range:
x > 1
Description of the event
Maximum length:
255
Status of event schema
- DRAFT - Schema is in draft state
- ACTIVE - Schema is currently active
- INACTIVE - Schema is currently inactive
- ARCHIVED - Older version of event schema
Available options:
DRAFT
, ACTIVE
, INACTIVE
, ARCHIVED
details of feature associated with event schema with attribute name
Template used to generate event id based on event payload