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

# Get run metric summary

> How each metric scored across the run: the mean and the observed range over the evaluations that carry a score. A metric whose evaluations are all still pending has no row.



## OpenAPI

````yaml https://api.galtea.ai/openapi.json get /runs/{id}/metric-summary
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /runs/{id}/metric-summary:
    get:
      tags:
        - runs
      summary: Get run metric summary
      description: >-
        How each metric scored across the run: the mean and the observed range
        over the evaluations that carry a score. A metric whose evaluations are
        all still pending has no row.
      operationId: getRunMetricSummary
      parameters:
        - schema:
            type: string
            description: Run ID
            example: run_123
          required: true
          description: Run ID
          name: id
          in: path
      responses:
        '200':
          description: Metric summary retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RunMetricSummary'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    RunMetricSummary:
      type: object
      properties:
        metricId:
          type: string
          example: metric_123
        metricName:
          type: string
          example: Factual Accuracy
        evaluationCount:
          type: integer
          example: 24
          description: Evaluations of this metric that carry a score, not every evaluation
        mean:
          type: number
          example: 0.82
          description: Mean reported score, on the metric’s own 0-1 scale
        min:
          type: number
          example: 0.4
        max:
          type: number
          example: 1
      required:
        - metricId
        - metricName
        - evaluationCount
        - mean
        - min
        - max
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````