Segments
Get Segment Attributes
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringSegmentAttributes
application/json- response
traits*array<>eventProperties*array<>curl -X GET 'https://api.faststats.dev/v0/projects/string/segment-attributes'Example Response
{ "traits": [ { "key": "string", "count": 0 } ], "eventProperties": [ { "key": "string", "count": 0 } ]}curl -X GET 'https://api.faststats.dev/v0/projects/string/segment-attributes'{
"traits": [
{
"key": "string",
"count": 0
}
],
"eventProperties": [
{
"key": "string",
"count": 0
}
]
}