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

# Model-vs-data metrics for every pair in a study

> RMSE, MAE and max residual per pair, each computed over every sample.

The report's table shows these for all pairs at once, which is why they are served
apart from the channels: downloading both full datasets per pair just to fill three
numbers in a row would be wasteful.

A pair whose simulation has no results is omitted rather than failing the batch — its
row renders as pending, which is what it is.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /projects/{project_id}/studies/{study_id}/validation-metrics
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /projects/{project_id}/studies/{study_id}/validation-metrics:
    get:
      tags:
        - study-validation
      summary: Model-vs-data metrics for every pair in a study
      description: >-
        RMSE, MAE and max residual per pair, each computed over every sample.


        The report's table shows these for all pairs at once, which is why they
        are served

        apart from the channels: downloading both full datasets per pair just to
        fill three

        numbers in a row would be wasteful.


        A pair whose simulation has no results is omitted rather than failing
        the batch — its

        row renders as pending, which is what it is.
      operationId: >-
        get_validation_report_metrics_projects__project_id__studies__study_id__validation_metrics_get
      parameters:
        - name: study_id
          in: path
          required: true
          schema:
            type: string
            title: Study Id
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ValidationPairMetrics'
                title: >-
                  Response Get Validation Report Metrics Projects  Project Id 
                  Studies  Study Id  Validation Metrics Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationPairMetrics:
      properties:
        simulation_id:
          type: string
          title: Simulation Id
        measurement_id:
          type: string
          title: Measurement Id
        rmse:
          type: number
          title: Rmse
        mae:
          type: number
          title: Mae
        max:
          type: number
          title: Max
      type: object
      required:
        - simulation_id
        - measurement_id
        - rmse
        - mae
        - max
      title: ValidationPairMetrics
      description: One row of the report's summary table.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````