Docs
Segments

List tracked events

GET/segments/event-namesNeedscontent.view

Custom events your app sent with Cueston.track(), most recent first (at most 1,000).

Authorization

secretKey
headerAuthorizationBearer <sk_…>

A secret API key from Settings → API keys. It acts with its creator's role.

Response Body

OK

application/json
  1. response
events*array<>
Shell
curl -X GET 'https://app.cueston.com/api/segments/event-names'
Example Response
JSON
{
  "events": [
    {
      "name": "Onboarding tour",
      "firstSeenAt": "2026-10-26T09:30:00Z",
      "lastSeenAt": "2026-10-26T09:30:00Z",
      "count30d": 0,
      "users30d": 0
    }
  ]
}