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

# Workspace Baseline



## OpenAPI

````yaml get /api/v2/insights/workspace-baseline
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/workspace-baseline:
    get:
      tags:
        - Insights
      summary: Workspace Baseline
      operationId: getWorkspaceBaseline
      parameters:
        - schema:
            type: string
            format: date-time
            description: Anchor ISO datetime. Defaults to now.
          required: false
          name: anchorAt
          in: query
      responses:
        '200':
          description: Workspace outcome baseline for the current period windows
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      anchorAt:
                        type: string
                      week:
                        $ref: '#/components/schemas/WorkspaceBaseline'
                      month:
                        $ref: '#/components/schemas/WorkspaceBaseline'
                      quarter:
                        $ref: '#/components/schemas/WorkspaceBaseline'
                    required:
                      - anchorAt
                      - week
                      - month
                      - quarter
                required:
                  - data
components:
  schemas:
    WorkspaceBaseline:
      type: object
      nullable: true
      properties:
        oId:
          type: string
        periodType:
          type: string
          enum:
            - week
            - month
            - quarter
        periodStart:
          type: string
        periodEnd:
          type: string
        totalClosedDeals:
          type: integer
        totalWonDeals:
          type: integer
        totalLostDeals:
          type: integer
        totalOpenDealCount:
          type: integer
        totalWonDealAmount:
          type: string
        totalLostDealAmount:
          type: string
        totalOpenDealAmount:
          type: string
        baselineWinRate:
          type: number
          nullable: true
        avgDealSize:
          type: string
          nullable: true
        avgDealCycleDays:
          type: number
          nullable: true
        totalFindingsInPeriod:
          type: integer
        lastComputedAt:
          type: string
      required:
        - oId
        - periodType
        - periodStart
        - periodEnd
        - totalClosedDeals
        - totalWonDeals
        - totalLostDeals
        - totalOpenDealCount
        - totalWonDealAmount
        - totalLostDealAmount
        - totalOpenDealAmount
        - baselineWinRate
        - avgDealSize
        - avgDealCycleDays
        - totalFindingsInPeriod
        - lastComputedAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````