> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tranthor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List values of an attribute

> Values of an attribute (or, with event, of that event's property), the one most people have first, for the segment builder's value pickers. Optional case-insensitive search.



## OpenAPI

````yaml get /api/admin/segments/trait-values
openapi: 3.1.0
info:
  title: Tranthor API
  description: Tranthor API Swagger Documentation
  version: 0.0.1
servers: []
security: []
paths:
  /api/admin/segments/trait-values:
    get:
      tags:
        - Segments
      description: >-
        Values of an attribute (or, with event, of that event's property), the
        one most people have first, for the segment builder's value pickers.
        Optional case-insensitive search.
      parameters:
        - schema:
            type: string
          in: query
          name: workspaceId
          required: true
        - schema:
            minLength: 1
            maxLength: 200
            type: string
          in: query
          name: path
          required: true
        - schema:
            minLength: 1
            maxLength: 200
            type: string
          in: query
          name: event
          required: false
        - schema:
            maxLength: 100
            type: string
          in: query
          name: search
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  values:
                    type: array
                    items:
                      type: string
                required:
                  - values
      security:
        - adminApiKey: []
components:
  securitySchemes:
    adminApiKey:
      type: http
      scheme: bearer
      description: >-
        An Admin API key, sent as `Authorization: Bearer <key>`. Create one in
        Settings.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.