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

# [TR1] Generate Trends Digest

> Generates a structured 6-section trends research digest for any industry using real-time web research (Perplexity Sonar Pro) and structured extraction (GPT-5 Mini). Sections: Top Trends, Industry Signals, Regulatory Watch, Technology & Innovation, Market Shifts, and personalized insights.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/trends_research_generate_trends_action
openapi: 3.0.0
info:
  version: 1.1.0
  title: AI Actions - Get Data
  description: API specifications for 'Get Data' category AI actions.
  license:
    name: MIT
servers:
  - url: https://api-lr.agent.ai/v1
security:
  - bearerAuth: []
paths:
  /action/trends_research_generate_trends_action:
    post:
      tags:
        - Trends Research
      summary: '[TR1] Generate Trends Digest'
      description: >-
        Generates a structured 6-section trends research digest for any industry
        using real-time web research (Perplexity Sonar Pro) and structured
        extraction (GPT-5 Mini). Sections: Top Trends, Industry Signals,
        Regulatory Watch, Technology & Innovation, Market Shifts, and
        personalized insights.
      operationId: trendsResearchGenerateTrendsAction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                industry:
                  type: string
                  description: >-
                    The industry or topic to research trends for (e.g. 'AI and
                    Machine Learning', 'Fintech', 'E-commerce').
                geography:
                  type: string
                  description: Optional geographic focus (e.g. 'US', 'Europe', 'APAC').
                seller_product:
                  type: string
                  x-ui: textarea
                  description: >-
                    Optional: enables personalized 'What This Means for You'
                    section.
                seller_icp:
                  type: string
                  x-ui: textarea
                  description: 'Optional: enables ICP-trend alignment in personalization.'
                seller_website:
                  type: string
                  description: 'Optional: used for personalized insights.'
                seller_competitors:
                  type: string
                  description: 'Optional: enables competitive framing in personalization.'
                output_variable_name:
                  type: string
                  default: trends_digest
                  pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
              required:
                - industry
                - output_variable_name
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '401':
          description: Unauthorized - invalid or missing bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionResponse'
components:
  schemas:
    ActionResponse:
      type: object
      properties:
        status:
          type: integer
          format: int32
          description: HTTP status code of the action response
        response:
          type: object
          description: Response data from the action
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from your account
        ([https://agent.ai/user/integrations#api](https://agent.ai/user/integrations#api))

````