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

# Analytics Overview

> Cross-board KPIs: totals, lifecycle status breakdowns, validation gates,
sprint summary, funnel, velocity, board list.

Semântica de campos opcionais:
- ``avg_triage_hours``: null quando não há bugs triados no período
  (sem bugs com ``linked_test_task_ids`` populado). Não é erro —
  indica ausência do sinal.
- ``bug_rate_per_spec``: retorna apenas specs com ``rate > 0``.
  Specs sem bugs são omitidas da lista para reduzir o payload.
- ``sprint_evaluation``: mesmo shape que ``spec_evaluation``
  (inclui ``avg_dimension_scores`` — dict vazio quando nenhum
  sprint_evaluation carrega dimensions).



## OpenAPI

````yaml /openapi.json get /api/v1/analytics/overview
openapi: 3.1.0
info:
  description: >-
    Okto Pulse REST API schema generated from okto-pulse-core 0.2.0 source for
    docs.oktolabs.ai.
  title: Okto Pulse
  version: 0.2.0
servers: []
security: []
paths:
  /api/v1/analytics/overview:
    get:
      tags:
        - analytics
      summary: Analytics Overview
      description: |-
        Cross-board KPIs: totals, lifecycle status breakdowns, validation gates,
        sprint summary, funnel, velocity, board list.

        Semântica de campos opcionais:
        - ``avg_triage_hours``: null quando não há bugs triados no período
          (sem bugs com ``linked_test_task_ids`` populado). Não é erro —
          indica ausência do sinal.
        - ``bug_rate_per_spec``: retorna apenas specs com ``rate > 0``.
          Specs sem bugs são omitidas da lista para reduzir o payload.
        - ``sprint_evaluation``: mesmo shape que ``spec_evaluation``
          (inclui ``avg_dimension_scores`` — dict vazio quando nenhum
          sprint_evaluation carrega dimensions).
      operationId: analytics_overview_api_v1_analytics_overview_get
      parameters:
        - in: query
          name: from
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: From
        - in: query
          name: to
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: To
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````