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

> Whole landing payload in one call - powers the no-scroll Memory Centre.

Composes the seven Stage 3 helpers into one response so the dashboard
renders without N round-trips. ``window_seconds`` narrows the time-windowed
tiles (efficiency, abstentions, retrieval p95); the composition, scope, and
freshness tiles are point-in-time aggregates and ignore it by design.

# IDOR AUDIT PASS - every helper is called with auth.user_id only.



## OpenAPI

````yaml get /api/v1/dashboard/summary
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/summary:
    get:
      summary: Dashboard Summary
      description: >-
        Whole landing payload in one call - powers the no-scroll Memory Centre.


        Composes the seven Stage 3 helpers into one response so the dashboard

        renders without N round-trips. ``window_seconds`` narrows the
        time-windowed

        tiles (efficiency, abstentions, retrieval p95); the composition, scope,
        and

        freshness tiles are point-in-time aggregates and ignore it by design.


        # IDOR AUDIT PASS - every helper is called with auth.user_id only.
      operationId: dashboard_summary_api_v1_dashboard_summary_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/DashboardSummaryResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    DashboardSummaryResponse:
      properties:
        abstentions:
          title: Abstentions
          type: integer
        efficiency:
          $ref: '#/components/schemas/EfficiencySection'
        freshness:
          $ref: '#/components/schemas/FreshnessSection'
        integrity:
          $ref: '#/components/schemas/IntegritySection'
        provenance:
          $ref: '#/components/schemas/ProvenanceSection'
        retrieval_p95:
          title: Retrieval P95
          type: integer
        scopes:
          items:
            $ref: '#/components/schemas/ScopeBreakdownItem'
          title: Scopes
          type: array
      required:
        - integrity
        - efficiency
        - abstentions
        - freshness
        - retrieval_p95
        - scopes
        - provenance
      title: DashboardSummaryResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    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
    FreshnessSection:
      properties:
        fresh:
          title: Fresh
          type: integer
        stale:
          title: Stale
          type: integer
        stale_after_seconds:
          title: Stale After Seconds
          type: integer
        total:
          title: Total
          type: integer
      required:
        - fresh
        - stale
        - total
        - stale_after_seconds
      title: FreshnessSection
      type: object
    IntegritySection:
      properties:
        total_retrievals:
          title: Total Retrievals
          type: integer
        total_violations:
          title: Total Violations
          type: integer
      required:
        - total_retrievals
        - total_violations
      title: IntegritySection
      type: object
    ProvenanceSection:
      properties:
        provenance:
          additionalProperties:
            type: integer
          title: Provenance
          type: object
      required:
        - provenance
      title: ProvenanceSection
      type: object
    ScopeBreakdownItem:
      properties:
        count:
          title: Count
          type: integer
        project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Project Id
      required:
        - project_id
        - count
      title: ScopeBreakdownItem
      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
    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
  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

````