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

# Retrieve segment size and edits history

> Obtén el tamaño y el historial de ediciones de una lista específica dentro de un rango de fechas definido. Este punto de terminación es útil para seguir los cambios y entender la evolución del tamaño de la lista a lo largo del tiempo.

export const ScopesList = ({scopes = [], description = "Esta API requiere uno de los siguientes ámbitos:"}) => {
  if (!scopes || scopes.length === 0) {
    return null;
  }
  const sortedScopes = scopes.sort((a, b) => a.localeCompare(b));
  return <div>
      <div className="text-sm mb-2">{description}</div>
      <div>
        {sortedScopes.map((scope, index) => <div key={index}>
            <code>
              <span className="text-xs">{scope}</span>
            </code>
          </div>)}
      </div>
    </div>;
};

export const SupportedProducts = ({marketing, sales, service, cms, marketingLevel, salesLevel, serviceLevel, cmsLevel}) => {
  const translations = {
    header: "Productos compatibles",
    description: "Se requiere uno de los siguientes productos o productos de ediciones superiores.",
    productNames: {
      marketing: "Marketing Hub",
      sales: "Sales Hub",
      service: "Service Hub",
      cms: "Content Hub"
    },
    tiers: {
      free: "Gratuito",
      starter: "Starter",
      professional: "Pro",
      enterprise: "Enterprise"
    }
  };
  const translateTier = tier => {
    if (!tier) return '';
    const lowerTier = tier.toLowerCase();
    return translations.tiers[lowerTier] || tier;
  };
  const products = [{
    name: marketing ? translations.productNames.marketing : '',
    level: translateTier(marketingLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/marketing-bolt.svg",
    alt: "Marketing Hub"
  }, {
    name: sales ? translations.productNames.sales : '',
    level: translateTier(salesLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/sales-star.svg",
    alt: "Sales Hub"
  }, {
    name: service ? translations.productNames.service : '',
    level: translateTier(serviceLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/service-heart.svg",
    alt: "Service Hub"
  }, {
    name: cms ? translations.productNames.cms : '',
    level: translateTier(cmsLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/content-play.svg",
    alt: "Content Hub"
  }].filter(product => product.name && product.level);
  if (products.length === 0) return null;
  return <div>
      <div className="text-sm mb-2">{translations.description}</div>
      <div className={`grid ${products.length === 1 ? 'grid-cols-1' : 'grid-cols-2'} gap-1.5`}>
        {products.map((product, index) => <div key={index} style={{
    display: 'flex',
    alignItems: 'center'
  }}>
            <img src={product.icon} alt={product.alt} className="w-3.5 h-3.5 mr-1.5 mt-2.5 mb-2.5 flex-shrink-0 align-middle" />
            <span className="font-medium mr-1 text-sm">{product.name} -</span>
            <span className="text-sm">{product.level}</span>
          </div>)}
      </div>
    </div>;
};

<AccordionGroup>
  <Accordion title="Supported products" defaultOpen="true" icon="cubes">
    <SupportedProducts marketing={true} sales={true} service={true} cms={true} marketingLevel="FREE" salesLevel="FREE" serviceLevel="FREE" cmsLevel="FREE" />
  </Accordion>

  <Accordion title="Required Scopes" icon="key">
    <ScopesList
      scopes={[
  'crm.lists.read'
]}
    />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/{listId}/size-and-edits-history/between
openapi: 3.0.1
info:
  title: CRM Lists
  description: Basepom for all HubSpot Projects
  version: 2026-09
  x-hubspot-product-tier-requirements:
    marketing: FREE
    sales: FREE
    service: FREE
    cms: FREE
    commerce: FREE
    crmHub: FREE
    dataHub: FREE
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Basic
  - name: Batch
  - name: Search
paths:
  /crm/lists/2026-09/{listId}/size-and-edits-history/between:
    get:
      tags:
        - Basic
      summary: Recuperar historial
      description: >-
        Obtén el tamaño y el historial de ediciones de una lista específica
        dentro de un rango de fechas definido. Este punto de terminación es útil
        para seguir los cambios y entender la evolución del tamaño de la lista a
        lo largo del tiempo.
      operationId: get-/crm/lists/2026-09/{listId}/size-and-edits-history/between
      parameters:
        - name: listId
          in: path
          description: >-
            El identificador único de la lista para la que se recupera el tamaño
            y el historial de ediciones.
          required: true
          style: simple
          explode: false
          schema:
            type: string
        - name: endDate
          in: query
          description: >-
            La fecha de finalización para la obtención del historial, con
            formato de cadena de fecha y hora.
          required: false
          style: form
          explode: true
          schema:
            type: string
            format: date-time
        - name: startDate
          in: query
          description: >-
            La fecha de inicio para la obtención del historial, con formato de
            cadena de fecha y hora.
          required: false
          style: form
          explode: true
          schema:
            type: string
            format: date-time
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSizeAndEditHistoryResponse'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - crm.segments.read
        - oauth2:
            - crm.lists.read
components:
  schemas:
    ListSizeAndEditHistoryResponse:
      required:
        - editHistory
        - sizeHistory
      type: object
      properties:
        editHistory:
          type: array
          description: >-
            Un conjunto de cadenas de fecha y hora que indican las marcas de
            tiempo de las modificaciones hechas en la lista.
          items:
            type: string
            format: date-time
        sizeHistory:
          type: array
          description: >-
            Una matriz de objetos ListSizeDataPoint que representa los datos
            históricos del tamaño de la lista.
          items:
            $ref: '#/components/schemas/ListSizeDataPoint'
    ListSizeDataPoint:
      required:
        - size
        - timestamp
      type: object
      properties:
        size:
          type: integer
          description: >-
            Un número entero que representa el tamaño de la lista en la marca de
            tiempo especificada.
          format: int64
        timestamp:
          type: string
          description: >-
            Una marca de tiempo Unix en milisegundos que indica el momento
            específico en que se registró el tamaño de la lista.
          format: date-time
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: Una cadena que indica la categoría del error.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Un objeto que contiene contexto adicional sobre el error,
            representado como un mapa de pares clave-valor.
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            Un identificador único para la instancia del error, que se usa para
            fines de seguimiento y depuración.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: >-
            Un conjunto de objetos ErrorDetail, cada uno de los cuales
            proporciona información adicional sobre errores específicos que se
            produjeron.
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            Un objeto que contiene enlaces relacionados, representado como un
            mapa de nombres de enlaces a URL.
        message:
          type: string
          description: >-
            Una cadena que proporciona una descripción del error legible por
            humanos.
          example: An error occurred
        subCategory:
          type: string
          description: >-
            Un objeto que representa una clasificación más específica del error
            dentro de su categoría.
      description: >-
        Representa una respuesta de error que devuelve la API cuando una
        operación falla. Este componente se usa en varios puntos de terminación
        para dar información detallada sobre el error que se encontró.
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: >-
            Una cadena que representa un código de error específico que
            identifica el tipo de error
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Un objeto que contiene contexto adicional sobre el error,
            representado como un mapa de cadenas a matrices de cadenas, que
            puede incluir parámetros o valores específicos relacionados con el
            error.
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: >-
            Una cadena que indica la ubicación donde ocurrió el error, como
            "query", "header" o "body".
        message:
          type: string
          description: >-
            Una cadena que contiene una descripción del error legible por
            humanos.
        subCategory:
          type: string
          description: >-
            Un objeto que proporciona una categorización adicional del error,
            que puede contener más detalles.
      description: >-
        Representa información detallada sobre un error que ocurrió en la API.
        Este componente se usa para dar contexto adicional y detalles
        específicos sobre los errores, normalmente como parte de una respuesta
        de error.
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            cms.membership.access_groups.write: ''
            crm.lists.read: ''
            crm.lists.write: ''
            crm.segments.read: ''
            crm.segments.write: ''

````