Data Index

Add or update events

Events are actions your customers have performed. Use this endpoint to add new events or update existing events in your workspace. To associate events with customers, use our Pipelines or Track APIs. NOTE: If you add new events, they will not appear in your Data Index until you've associated it with a customer.

Add descriptions for events so our AI tools can better understand your data. For instance, this influences how our segment builder generates conditions with AI.

post/v1/data_index/events

Request body

Example request

{
  "events": [
    {
      "name": "purchase_completed",
      "description": "User successfully completed a purchase"
    }
  ]
}

Response

Events updated successfully

Changes

No recorded changes to this endpoint across all 1 revision of this API.