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

# Get Dashboard

> Return all five v1 dashboard widgets for the requested time range.



## OpenAPI

````yaml /standalone/openapi.json get /admin/api/v1/dashboard
openapi: 3.1.0
info:
  title: Idun Agent Engine Server
  description: A production-ready server for conversational AI agents
  version: 0.6.1
servers: []
security: []
tags:
  - name: Runtime
    description: >-
      Public agent run endpoints, engine operations, and chat-channel webhooks.
      SSE streaming via the AG-UI protocol.
  - name: Agent Configuration
    description: >-
      Singleton admin endpoints for the agent, prompts, memory, guardrails, and
      onboarding wizard.
  - name: Auth & SSO
    description: >-
      Login, sessions, password change, SSO config, and the public SSO discovery
      endpoint.
  - name: Integrations & Tools
    description: MCP server registry and external integration credentials.
  - name: Observability
    description: Tracing/logging provider configuration.
  - name: Traces
    description: >-
      Trace and span storage admin endpoints — list, detail, delete, and
      pipeline-health for the standalone trace store.
  - name: Dashboard
    description: >-
      Operator dashboard widgets — KPIs, time-series, top errors, and
      configuration summary.
paths:
  /admin/api/v1/dashboard:
    get:
      tags:
        - Dashboard
      summary: Get Dashboard
      description: Return all five v1 dashboard widgets for the requested time range.
      operationId: get_dashboard_admin_api_v1_dashboard_get
      parameters:
        - name: range
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/DashboardRange'
            default: 24h
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DashboardRange:
      type: string
      enum:
        - 1h
        - 24h
        - 7d
        - 30d
      title: DashboardRange
      description: Time-range filter values accepted by the dashboard endpoint.
    DashboardResponse:
      properties:
        range:
          $ref: '#/components/schemas/DashboardRange'
        generatedAt:
          type: string
          format: date-time
          title: Generatedat
        bucketSeconds:
          type: integer
          title: Bucketseconds
        requests:
          $ref: '#/components/schemas/RequestsBlock'
        latency:
          $ref: '#/components/schemas/LatencyBlock'
        errorRate:
          $ref: '#/components/schemas/ErrorRateBlock'
        cost:
          $ref: '#/components/schemas/CostBlock'
        topErrors:
          items:
            $ref: '#/components/schemas/TopErrorRow'
          type: array
          title: Toperrors
          default: []
      type: object
      required:
        - range
        - generatedAt
        - bucketSeconds
        - requests
        - latency
        - errorRate
        - cost
      title: DashboardResponse
      description: Top-level dashboard payload returned by ``GET /admin/api/v1/dashboard``.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RequestsBlock:
      properties:
        total:
          type: integer
          title: Total
        deltaPct:
          anyOf:
            - type: number
            - type: 'null'
          title: Deltapct
        series:
          items:
            $ref: '#/components/schemas/TimeBucketPoint'
          type: array
          title: Series
          default: []
      type: object
      required:
        - total
      title: RequestsBlock
      description: Headline + series for the Requests widget.
    LatencyBlock:
      properties:
        p50Ms:
          anyOf:
            - type: number
            - type: 'null'
          title: P50Ms
        p95Ms:
          anyOf:
            - type: number
            - type: 'null'
          title: P95Ms
        p95DeltaPct:
          anyOf:
            - type: number
            - type: 'null'
          title: P95Deltapct
        series:
          items:
            $ref: '#/components/schemas/LatencyBucketPoint'
          type: array
          title: Series
          default: []
      type: object
      title: LatencyBlock
      description: Headline + series for the Latency p50 / p95 widget.
    ErrorRateBlock:
      properties:
        valuePct:
          type: number
          title: Valuepct
        deltaPp:
          anyOf:
            - type: number
            - type: 'null'
          title: Deltapp
        series:
          items:
            $ref: '#/components/schemas/TimeBucketPoint'
          type: array
          title: Series
          default: []
      type: object
      required:
        - valuePct
      title: ErrorRateBlock
      description: |-
        Headline + series for the Error rate widget.

        ``value_pct`` is a decimal fraction (0.0042 means 0.42 %).
        ``delta_pp`` is a percentage-point delta as a decimal fraction
        (-0.001 means the error rate dropped by 0.1 pp; NOT a relative %).
    CostBlock:
      properties:
        totalUsd:
          type: number
          title: Totalusd
        deltaPct:
          anyOf:
            - type: number
            - type: 'null'
          title: Deltapct
        series:
          items:
            $ref: '#/components/schemas/TimeBucketPoint'
          type: array
          title: Series
          default: []
      type: object
      required:
        - totalUsd
      title: CostBlock
      description: Headline + series for the Total cost widget.
    TopErrorRow:
      properties:
        spanName:
          type: string
          title: Spanname
        count:
          type: integer
          title: Count
        lastSeen:
          type: string
          format: date-time
          title: Lastseen
        sampleTraceId:
          type: string
          title: Sampletraceid
      type: object
      required:
        - spanName
        - count
        - lastSeen
        - sampleTraceId
      title: TopErrorRow
      description: |-
        One row of the Top errors table.

        Grouped by failing span name. The current exporter does not preserve
        OTel exception event attributes (``exception.type`` /
        ``exception.message``), so granular error types come from drilling
        into the sample trace. See SPEC § 4 row 5.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    TimeBucketPoint:
      properties:
        t:
          type: string
          format: date-time
          title: T
        v:
          type: number
          title: V
      type: object
      required:
        - t
        - v
      title: TimeBucketPoint
      description: Single (timestamp, value) point in a time series.
    LatencyBucketPoint:
      properties:
        t:
          type: string
          format: date-time
          title: T
        p50:
          anyOf:
            - type: number
            - type: 'null'
          title: P50
        p95:
          anyOf:
            - type: number
            - type: 'null'
          title: P95
      type: object
      required:
        - t
      title: LatencyBucketPoint
      description: Single (timestamp, p50, p95) point in the latency time series.

````