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

# List Targeting Attributes

> Catalog of panel targeting attributes, searchable by name and filterable by category.



## OpenAPI

````yaml /api-reference/openapi.json get /api/public/v1/targeting-attributes/
openapi: 3.1.0
info:
  title: User Intuition Public API
  description: >-
    ## Public Integration API


    Programmatic access to User Intuition for external integrators: manage
    studies, participants, interviews, reports, and panels.


    ### Authentication


    All endpoints require a Bearer token — either an API key (prefixed `ui_sk_`,
    created in the dashboard) or a dashboard JWT:


    ```

    Authorization: Bearer <ui_sk_… or JWT>

    ```


    ### Base URLs


    - **Production:** `https://api.userintuition.ai`

    - **Staging:** `https://staging.userintuition.ai`


    ### Support


    For API support, contact support@userintuition.ai
  version: 1.0.0
  contact:
    name: User Intuition Support
    email: support@userintuition.ai
servers:
  - url: https://api.userintuition.ai
    description: Production
  - url: https://staging.userintuition.ai
    description: Staging
security:
  - BearerAuth: []
paths:
  /api/public/v1/targeting-attributes/:
    get:
      tags:
        - public-targeting
      summary: List Targeting Attributes
      description: >-
        Catalog of panel targeting attributes, searchable by name and filterable
        by category.
      operationId: listTargetingAttributes
      parameters:
        - name: name
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Case-insensitive name search
            title: Name
          description: Case-insensitive name search
          example: Job Title
        - name: category
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Case-insensitive exact category filter
            title: Category
          description: Case-insensitive exact category filter
          example: Employment
        - name: X-UI-Organization-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 128
              - type: 'null'
            description: >-
              Platform admins only: choose an organization for scoped reads and
              writes. Required to change another organization's study or use its
              wallet.
            title: X-Ui-Organization-Id
          description: >-
            Platform admins only: choose an organization for scoped reads and
            writes. Required to change another organization's study or use its
            wallet.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PublicTargetingAttributeCatalog'
                title: Response Listtargetingattributes
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
components:
  schemas:
    PublicTargetingAttributeCatalog:
      properties:
        qualification_id:
          type: integer
          title: Qualification Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        category:
          anyOf:
            - type: string
            - type: 'null'
          title: Category
          description: Filterable catalog category, such as Demographics or Financial
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: Question input type used for this targeting attribute
        question_text:
          anyOf:
            - type: string
            - type: 'null'
          title: Question Text
        options:
          items:
            $ref: '#/components/schemas/PublicTargetingOptionCatalog'
          type: array
          title: Options
      type: object
      required:
        - qualification_id
      title: PublicTargetingAttributeCatalog
      description: One qualification in the targeting catalog (GET /targeting-attributes).
    PublicApiErrorResponse:
      type: object
      required:
        - detail
        - error
      properties:
        detail:
          description: Legacy error detail; may be a string, list, or object.
        error:
          $ref: '#/components/schemas/PublicApiError'
    PublicTargetingOptionCatalog:
      properties:
        option_id:
          type: integer
          title: Option Id
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
      type: object
      required:
        - option_id
      title: PublicTargetingOptionCatalog
    PublicApiError:
      type: object
      required:
        - code
        - message
        - field
        - request_id
        - outcome
        - recovery_action
        - docs_url
      properties:
        code:
          type: string
        message:
          type: string
        field:
          anyOf:
            - type: string
            - type: 'null'
        request_id:
          type: string
          format: uuid
        outcome:
          type: string
          enum:
            - not_started
            - failed
            - unknown
        recovery_action:
          type: string
        docs_url:
          type: string
          format: uri
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Authenticate with an API key (prefixed `ui_sk_`) or a JWT token from the
        dashboard.

````

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