> ## 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 recommendation

> Obyén una recomendación específica por su identificador único. Este punto de terminación es útil para acceder a información detallada sobre una recomendación particular en tu cuenta de HubSpot.

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={[
  'marketing.aeo.write',
  'marketing.aeo.read',
  'aeo-standalone-access'
]}
    />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml specs/2027-03-beta/marketing-aeo-v2027-03-beta.json GET /marketing/aeo/2027-03-beta/recommendations/{recommendationId}
openapi: 3.0.1
info:
  title: Marketing Aeo
  description: Basepom for all HubSpot Projects
  version: 2027-03-beta
  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
paths:
  /marketing/aeo/2027-03-beta/recommendations/{recommendationId}:
    get:
      tags:
        - Basic
      summary: Obtener recomendación
      description: >-
        Obyén una recomendación específica por su identificador único. Este
        punto de terminación es útil para acceder a información detallada sobre
        una recomendación particular en tu cuenta de HubSpot.
      operationId: get-/marketing/aeo/2027-03-beta/recommendations/{recommendationId}
      parameters:
        - name: recommendationId
          in: path
          description: ''
          required: true
          style: simple
          explode: false
          schema:
            type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicRecommendation'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - marketing.aeo.write
        - oauth2:
            - marketing.aeo.read
        - oauth2:
            - aeo-standalone-access
components:
  schemas:
    PublicRecommendation:
      required:
        - createdAt
        - endDate
        - id
        - influencingCitations
        - promptIds
        - recommendationType
        - startDate
        - status
      type: object
      properties:
        actionCategory:
          type: string
          description: >-
            La categoría de acción sugerida por la recomendación. Los valores
            válidos incluyen "CREATE_CONTENT", "UPDATE_CONTENT", "OUTREACH" y
            "UPDATE_ROBOTS".
          enum:
            - CREATE_CONTENT
            - OUTREACH
            - UPDATE_CONTENT
            - UPDATE_ROBOTS
        actionChannel:
          type: string
          description: >-
            El canal a través del cual se debe realizar la acción recomendada.
            Los valores válidos incluyen "YOUTUBE", "LINKEDIN", "REDDIT",
            "AFFILIATE", "PR", "PEER", "REVIEW_SITE", "TECHNICAL_SEO",
            "OWNED_CONTENT", "LINKEDIN_ARTICLE" y "LINKEDIN_POST".
          enum:
            - AFFILIATE
            - CONTENT_SITE_AUDIT
            - LINKEDIN
            - LINKEDIN_ARTICLE
            - LINKEDIN_POST
            - OWNED_CONTENT
            - PEER
            - PR
            - REDDIT
            - REDDIT_SUBREDDIT
            - REVIEW_SITE
            - TECHNICAL_SITE_AUDIT
            - YOUTUBE
        answerEngine:
          type: string
          description: >-
            El motor de respuestas utilizado para generar la recomendación. Los
            valores válidos incluyen "CHATGPT", "GEMINI" y "CLAUDE".
          enum:
            - CHATGPT
            - CLAUDE
            - GEMINI
        associatedContentUrl:
          type: string
          description: La URL del contenido asociado con la recomendación.
        contentTopic:
          type: string
          description: >-
            Una cadena que representa el tema del contenido relacionado con la
            recomendación.
        contentType:
          type: string
          description: >-
            El tipo de contenido asociado a la recomendación. Los valores
            válidos incluyen "UNKNOWN", "LISTICLE", "COMPARISON", "PRODUCT",
            "BLOG", "DOCUMENTATION", "WIKI", "NEWS", "PR", "RESEARCH",
            "USER_REVIEW", "SOCIAL", "HOW_TO", "GUIDE", "EDUCATIONAL",
            "HOMEPAGE", "MULTIMEDIA", "ARTICLE" y "DOMAIN".
          enum:
            - ARTICLE
            - BLOG
            - COMPARISON
            - DOCUMENTATION
            - DOMAIN
            - EDUCATIONAL
            - GUIDE
            - HOMEPAGE
            - HOW_TO
            - LISTICLE
            - LISTICLE_COMPARISON
            - LISTICLE_EDUCATIONAL
            - MULTIMEDIA
            - NEWS
            - PR
            - PRODUCT
            - RESEARCH
            - SOCIAL
            - UNKNOWN
            - USER_REVIEW
            - WIKI
        createdAt:
          type: string
          description: >-
            La fecha y hora en que se creó la recomendación, en formato ISO
            8601.
          format: date-time
        domain:
          type: string
          description: El dominio asociado con la recomendación.
        endDate:
          type: string
          description: >-
            La fecha de finalización de la relevancia de la recomendación, con
            formato de fecha.
          format: date
        id:
          type: string
          description: El identificador único de la recomendación.
        influencingCitations:
          type: array
          description: >-
            Un conjunto de cadenas que representan las citas que influyeron en
            la recomendación.
          items:
            type: string
        justification:
          type: string
          description: La justificación de por qué se hizo la recomendación.
        priority:
          type: string
          description: >-
            El nivel de prioridad de la recomendación. Los valores válidos
            incluyen "HIGH", "MEDIUM" y "LOW".
          enum:
            - HIGH
            - LOW
            - MEDIUM
        promptIds:
          type: array
          description: >-
            Una matriz de cadenas que representan los ID de los prompts que
            influyeron en esta recomendación.
          items:
            type: string
        recommendationSummary:
          type: string
          description: Un resumen de la recomendación proporcionada.
        recommendationType:
          type: string
          description: >-
            El tipo de recomendación proporcionada. Los valores válidos incluyen
            "DOMAIN", "URL", "TECHNICAL" y "CONTENT".
          enum:
            - CONTENT
            - DOMAIN
            - TECHNICAL
            - URL
        startDate:
          type: string
          description: >-
            La fecha de inicio de la relevancia de la recomendación, con formato
            de fecha.
          format: date
        status:
          type: string
          description: >-
            El estado actual de la recomendación. Los valores válidos incluyen
            "NEW", "IN_PROGRESS", "COMPLETED", "ARCHIVED", "FAILED", "DISMISSED"
            y "DRAFT_CREATED".
          enum:
            - ARCHIVED
            - COMPLETED
            - DISMISSED
            - DRAFT_CREATED
            - FAILED
            - IN_PROGRESS
            - NEW
        url:
          type: string
          description: La URL asociada con la recomendación.
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: La categoría del error
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Contexto de la condición de error
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            Un identificador único para la solicitud. Incluye este valor con
            cualquier informe de error o ticket de asistencia.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: información adicional acerca del error
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            Un mapa de nombres de enlaces a las URI asociadas que contienen
            documentación sobre el error o los pasos recomendados para
            solucionarlo
        message:
          type: string
          description: >-
            Un mensaje legible en el que se describa el error y los pasos para
            solucionarlo, si procede
          example: An error occurred
        subCategory:
          type: string
          description: >-
            Una categoría específica que contiene detalles más concretos acerca
            del error
      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: El código de estado asociado al detalle del error
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Contexto de la condición de error
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: El nombre del campo o parámetro en el que se encontró el error.
        message:
          type: string
          description: >-
            Un mensaje legible en el que se describa el error y los pasos para
            solucionarlo, si procede
        subCategory:
          type: string
          description: >-
            Una categoría específica que contiene detalles más concretos acerca
            del error
      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:
            aeo-standalone-access: ''
            marketing.aeo.write: ''

````