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

# List Customer Value Data Points

> Retrieve the Customer Value data points the network lets you report on: every data point that is both active and visible to partners, plus `user_id` when the network allows it. Use these identifiers in `customer_value_columns` and `query.user_metrics` on the aggregated reporting endpoints. This endpoint is not paginated and takes no filters.


List the Customer Value data points your network lets you report on. A data point appears only while the network keeps it both active and visible to partners, and `user_id` appears only when the network allows it.

Pass the identifiers in `customer_value_columns` to group [aggregated reports](https://developers.everflow.io/api-reference/post-affiliatesreportingentitytable.md) by them, or in `query.user_metrics` to add their totals or averages.


## OpenAPI

````yaml openapi/affiliate-customer-value.yaml get /affiliates/customervalue/datapoints
openapi: 3.0.3
info:
  title: Everflow Affiliate API - Customer Value
  description: >
    Customer Value endpoints for the Everflow Affiliate API. These endpoints are
    accessed by affiliate/partner users using their own API key and return only
    what the network has made visible to partners.
  version: 1.0.0
servers:
  - description: Production Server
    url: https://api.eflow.team/v1
security: []
tags:
  - name: Customer Value
paths:
  /affiliates/customervalue/datapoints:
    get:
      tags:
        - Customer Value
      summary: List Customer Value Data Points
      description: >
        Retrieve the Customer Value data points the network lets you report on:
        every data point that is both active and visible to partners, plus
        `user_id` when the network allows it. Use these identifiers in
        `customer_value_columns` and `query.user_metrics` on the aggregated
        reporting endpoints. This endpoint is not paginated and takes no
        filters.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data_points:
                    type: array
                    items:
                      $ref: '#/components/schemas/AffiliateDataPoint'
              example:
                data_points:
                  - identifier: subscription_tier
                    name: Subscription tier
                    type: text
                    description: The plan the customer is subscribed to.
                  - identifier: deposit_amount
                    name: Deposit amount
                    type: number
                    description: ''
                  - identifier: user_id
                    type: text
      security:
        - API Key: []
components:
  schemas:
    AffiliateDataPoint:
      type: object
      properties:
        identifier:
          type: string
          example: subscription_tier
          description: >
            The key to request this data point by in a report. `user_id` is the
            customer identifier itself, listed only when the network allows
            partners to report on it.
        name:
          type: string
          example: Subscription tier
          description: Display name of the data point. Empty or absent for `user_id`.
        type:
          type: string
          enum:
            - text
            - number
          description: >
            The value type. `query.user_metrics` reads values as numbers, so
            aggregate `number` data points only.
        description:
          type: string
          description: >-
            Free-form description of the data point. Empty or absent for
            `user_id`.
  securitySchemes:
    API Key:
      description: >
        The affiliate's API key generated from the Affiliate Portal. Uses the
        same X-Eflow-Api-Key header as the Network API, but the key belongs to
        the affiliate user rather than the network admin.
      in: header
      name: X-Eflow-Api-Key
      type: apiKey

````

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