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

# Submit a trend or instruction

> Records a trend as pending owner approval. Requires an API key with the trends:write scope. Idempotent on idempotency_key. See trends-api.md.



## OpenAPI

````yaml /openapi.yaml post /trends
openapi: 3.0.3
info:
  title: Deploy Panther Monitoring API
  version: 1.0.0
  description: >-
    Public API for monitoring Deploy Panther content generation and deployment
    operations.
  license:
    name: Proprietary
    url: https://www.deploypanther.com/terms
servers:
  - url: https://www.deploypanther.com/api/v1
    description: Production Server
security:
  - bearerAuth: []
paths:
  /trends:
    post:
      summary: Submit a trend or instruction
      description: >-
        Records a trend as pending owner approval. Requires an API key with the
        trends:write scope. Idempotent on idempotency_key. See trends-api.md.
      operationId: submitTrend
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - idempotency_key
                - title
                - summary
                - source_urls
                - relevance
                - target_offer
                - target_platforms
              properties:
                idempotency_key:
                  type: string
                title:
                  type: string
                  maxLength: 200
                summary:
                  type: string
                  maxLength: 2000
                source_urls:
                  type: array
                  items:
                    type: string
                    format: uri
                  minItems: 1
                  maxItems: 10
                relevance:
                  type: string
                  maxLength: 1000
                suggested_angle:
                  type: string
                  maxLength: 1000
                target_offer:
                  type: string
                  format: uri
                target_platforms:
                  type: array
                  items:
                    type: string
                    enum:
                      - twitter
                      - linkedin
                      - reddit
                      - reel
                      - reaction_hook
                      - hook_cta_shorts
                urgency:
                  type: string
                  enum:
                    - low
                    - normal
                    - high
                    - breaking
                expires_at:
                  type: string
                  format: date-time
      responses:
        '200':
          description: Idempotent replay of an earlier identical submission
        '201':
          description: Trend recorded with status pending_approval
        '400':
          description: Validation failed
        '401':
          description: Missing or invalid API key
        '403':
          description: API key lacks the trends:write scope
        '409':
          description: Idempotency key reused with a different payload
        '429':
          description: Rate limited; see Retry-After
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````

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