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

# Dashboard Efficiency

> Efficiency drill-down with an optional lookback window.

Same shape as the summary's efficiency section; exposed standalone so the
drill-down view can re-query a narrower window without refetching the whole
dashboard.

# IDOR AUDIT PASS - scoped to auth.user_id.



## OpenAPI

````yaml get /api/v1/dashboard/efficiency
openapi: 3.1.0
info:
  title: EDN Memory Engine
  version: 0.1.0
servers:
  - description: EDN evaluation endpoint
    url: https://api.tensorpro.ai
security:
  - EDNApiKey: []
paths:
  /api/v1/dashboard/efficiency:
    get:
      summary: Dashboard Efficiency
      description: >-
        Efficiency drill-down with an optional lookback window.


        Same shape as the summary's efficiency section; exposed standalone so
        the

        drill-down view can re-query a narrower window without refetching the
        whole

        dashboard.


        # IDOR AUDIT PASS - scoped to auth.user_id.
      operationId: dashboard_efficiency_api_v1_dashboard_efficiency_get
      parameters:
        - in: query
          name: window_seconds
          required: false
          schema:
            anyOf:
              - minimum: 1
                type: integer
              - type: 'null'
            title: Window Seconds
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EfficiencySection'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    EfficiencySection:
      properties:
        percent_reduction:
          title: Percent Reduction
          type: number
        series:
          items:
            $ref: '#/components/schemas/EfficiencySeriesPoint'
          title: Series
          type: array
        tokens_baseline:
          title: Tokens Baseline
          type: integer
        tokens_saved:
          title: Tokens Saved
          type: integer
        tokens_sip:
          title: Tokens Sip
          type: integer
      required:
        - tokens_sip
        - tokens_baseline
        - tokens_saved
        - percent_reduction
        - series
      title: EfficiencySection
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    EfficiencySeriesPoint:
      properties:
        period_start:
          title: Period Start
          type: integer
        tokens_baseline:
          title: Tokens Baseline
          type: integer
        tokens_sip:
          title: Tokens Sip
          type: integer
      required:
        - period_start
        - tokens_sip
        - tokens_baseline
      title: EfficiencySeriesPoint
      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:
    EDNApiKey:
      description: >-
        EDN API key presented as 'Bearer <key>' in the Authorization header.
        Create and manage keys from the Console.
      in: header
      name: Authorization
      type: apiKey

````