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

# Board Velocity

> Velocity stacked by impl/test/bug with validation_bounce +
spec_done/sprint_done overlays. Supports week or day granularity.



## OpenAPI

````yaml /openapi.json get /api/v1/boards/{board_id}/analytics/velocity
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/boards/{board_id}/analytics/velocity:
    get:
      tags:
        - analytics
      summary: Board Velocity
      description: |-
        Velocity stacked by impl/test/bug with validation_bounce +
        spec_done/sprint_done overlays. Supports week or day granularity.
      operationId: board_velocity_api_v1_boards__board_id__analytics_velocity_get
      parameters:
        - in: path
          name: board_id
          required: true
          schema:
            title: Board Id
            type: string
        - in: query
          name: weeks
          required: false
          schema:
            default: 12
            maximum: 52
            minimum: 1
            title: Weeks
            type: integer
        - in: query
          name: days
          required: false
          schema:
            default: 30
            maximum: 365
            minimum: 1
            title: Days
            type: integer
        - description: >-
            'week' (default) buckets by Monday-aligned week and uses `weeks`;
            'day' buckets per calendar day and uses `days`.
          in: query
          name: granularity
          required: false
          schema:
            default: week
            description: >-
              'week' (default) buckets by Monday-aligned week and uses `weeks`;
              'day' buckets per calendar day and uses `days`.
            title: Granularity
            type: string
        - 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

````