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

# [CM2] Content Planner

> Generates a content calendar with article ideas mapped to SEO/AEO opportunities, publishing schedule, and strategic rationale.



## OpenAPI

````yaml /api-reference/v1/v1.1.0_openapi.json post /action/content_planner_generate_content_plan_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/content_planner_generate_content_plan_action:
    post:
      tags:
        - Content Marketing Team
      summary: '[CM2] Content Planner'
      description: >-
        Generates a content calendar with article ideas mapped to SEO/AEO
        opportunities, publishing schedule, and strategic rationale.
      operationId: contentPlannerGenerateContentPlanAction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                topics:
                  type: string
                  description: Comma-separated list of topics to plan content around.
                planning_period:
                  type: string
                  enum:
                    - 1_month
                    - 2_months
                    - 3_months
                  default: 1_month
                publishing_capacity:
                  type: string
                  enum:
                    - 1_per_week
                    - 2_3_per_week
                    - 4_plus_per_week
                  default: 2_3_per_week
                upcoming_events:
                  type: string
                  x-ui: textarea
                  description: >-
                    Any product launches, conferences, or seasonal events to
                    plan around.
                optimization_focus:
                  type: string
                  enum:
                    - seo_focused
                    - aeo_focused
                    - balanced
                  default: balanced
                brand_voice:
                  type: string
                  enum:
                    - professional_authoritative
                    - conversational_relatable
                    - bold_opinionated
                    - warm_supportive
                    - witty_playful
                    - educational_helpful
                output_variable_name:
                  type: string
                  description: Variable name for the result.
                  default: content_plan
                  pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
              required:
                - topics
                - planning_period
                - publishing_capacity
                - 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))

````