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

# Get quality metrics for the At a Glance page

> Returns aggregated quality metrics across all active tasks, including confidence and stability distributions.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/avido/openapi.documented.yml get /v0/reporting/quality-metrics
openapi: 3.1.1
info:
  title: Avido API
  description: >-
    Avido's API for LLM usage events, tool calls, trace management, webhook
    validation, and more. See each endpoint's request/response schema for
    details.
  version: 0.1.0
  contact:
    name: Avido Support
    email: support@avidoai.com
    url: https://avidoai.com/support
servers:
  - url: https://api.avidoai.com
    description: Production API
security:
  - ApiKey: []
    ApplicationId: []
paths:
  /v0/reporting/quality-metrics:
    get:
      tags:
        - Reporting
      summary: Get quality metrics for the At a Glance page
      description: >-
        Returns aggregated quality metrics across all active tasks, including
        confidence and stability distributions.
      operationId: getQualityMetrics
      parameters:
        - in: query
          name: start
          schema:
            description: Start of the time range (ISO8601).
            example: '2025-01-01T00:00:00Z'
            type: string
            format: date-time
            pattern: >-
              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
          description: Start of the time range (ISO8601).
        - in: query
          name: end
          schema:
            description: End of the time range (ISO8601).
            example: '2025-01-31T23:59:59Z'
            type: string
            format: date-time
            pattern: >-
              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
          description: End of the time range (ISO8601).
      responses:
        '200':
          description: Successfully retrieved quality metrics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QualityMetricsResponse'
        '400':
          description: bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '500':
          description: internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    QualityMetricsResponse:
      type: object
      properties:
        pctTasksHighConfidence:
          type: number
          minimum: 0
          maximum: 100
          description: Percentage of active tasks with High confidence (0-100).
          example: 55
        tasksNeedingMoreTesting:
          type: integer
          minimum: 0
          maximum: 9007199254740991
          description: Number of active tasks at Low or Medium confidence.
          example: 30
        tasksWithUnstableScores:
          type: integer
          minimum: 0
          maximum: 9007199254740991
          description: Number of active tasks at Low stability.
          example: 10
        totalTasks:
          type: integer
          minimum: 0
          maximum: 9007199254740991
          description: Total number of active tasks.
          example: 100
        averageSyntheticHealthScore:
          anyOf:
            - type: number
              minimum: 0
              maximum: 100
            - type: 'null'
          description: >-
            Average synthetic health score (0-100) across tasks with sufficient
            data. Null when no tasks have enough evaluations for a reliable
            score.
          example: 85.3
      required:
        - pctTasksHighConfidence
        - tasksNeedingMoreTesting
        - tasksWithUnstableScores
        - totalTasks
        - averageSyntheticHealthScore
      additionalProperties: false
      title: QualityMetricsResponse
      description: >-
        Aggregated quality metrics across all active tasks for the At a Glance
        page.
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message explaining the error.
          example: Resource not found
      required:
        - message
      additionalProperties: false
      title: ErrorResponse
      description: Standard error format for failed API operations.
    ValidationErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: A human-readable error message indicating what went wrong.
          example: Invalid request data
        issues:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              message:
                type: string
              path:
                type: array
                items:
                  type: string
            required:
              - code
              - message
              - path
            additionalProperties: false
          description: Array of detailed validation error objects.
          example:
            - code: invalid_string
              message: Invalid UUID
              path:
                - id
      required:
        - message
        - issues
      additionalProperties: false
      title: ValidationErrorResponse
      description: Details about validation errors in incoming requests.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your unique Avido API key
    ApplicationId:
      type: apiKey
      in: header
      name: x-application-id
      description: Your unique Avido Application ID

````