Skip to Content
Segments

Get Segment Attributes

GET
/v0/projects/{idOrSlug}/segment-attributes

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Response Body

SegmentAttributes

application/json
  1. response
traits*array<>
eventProperties*array<>
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/segment-attributes'
Example Response
{
  "traits": [
    {
      "key": "string",
      "count": 0
    }
  ],
  "eventProperties": [
    {
      "key": "string",
      "count": 0
    }
  ]
}