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

# Competitive Landscape



## OpenAPI

````yaml get /api/v2/insights/competitive
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/insights/competitive:
    get:
      tags:
        - Insights
      summary: Competitive Landscape
      operationId: getCompetitiveLandscape
      parameters:
        - schema:
            type: string
            enum:
              - week
              - month
              - quarter
            description: Period granularity
          required: true
          name: periodType
          in: query
        - schema:
            type: string
            format: date-time
            description: Start of the period window (ISO datetime)
          required: true
          name: periodStart
          in: query
      responses:
        '200':
          description: Competitor and alternative entity stats, sorted by win rate impact
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/EntityStatsWithName'
                required:
                  - data
components:
  schemas:
    EntityStatsWithName:
      allOf:
        - $ref: '#/components/schemas/EntityStats'
        - type: object
          properties:
            entityName:
              type: string
          required:
            - entityName
    EntityStats:
      type: object
      nullable: true
      properties:
        oId:
          type: string
          description: Stats row oId
        entityType:
          type: string
          enum:
            - persona
            - product
            - service
            - solution
            - use_case
            - playbook
            - proof_point
            - competitor
            - alternative
            - buying_trigger
            - objection
            - reference
            - hypothesis
            - segment
            - target_icp
            - motion_icp
        entityOId:
          type: string
        periodType:
          type: string
          enum:
            - week
            - month
            - quarter
        periodStart:
          type: string
        periodEnd:
          type: string
        wonDealCount:
          type: integer
        lostDealCount:
          type: integer
        noDecisionDealCount:
          type: integer
        openDealCount:
          type: integer
        wonDealTotalAmount:
          type: string
        lostDealTotalAmount:
          type: string
        totalFindingCount:
          type: integer
        uniqueEventCount:
          type: integer
        uniqueCompanyCount:
          type: integer
        uniqueContactCount:
          type: integer
        winRate:
          type: number
          nullable: true
        relativeWinRate:
          type: number
          nullable: true
        liftScore:
          type: number
          nullable: true
        winRateDelta:
          type: number
          nullable: true
        isUbiquitous:
          type: boolean
        dealsWherePresent:
          type: integer
        dealsWhereAbsent:
          type: integer
        lastComputedAt:
          type: string
      required:
        - oId
        - entityType
        - entityOId
        - periodType
        - periodStart
        - periodEnd
        - wonDealCount
        - lostDealCount
        - noDecisionDealCount
        - openDealCount
        - wonDealTotalAmount
        - lostDealTotalAmount
        - totalFindingCount
        - uniqueEventCount
        - uniqueCompanyCount
        - uniqueContactCount
        - winRate
        - relativeWinRate
        - liftScore
        - winRateDelta
        - isUbiquitous
        - dealsWherePresent
        - dealsWhereAbsent
        - lastComputedAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````