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

# Get Evaluation Score

This endpoint allows you to retrieve the score of a specific report by its ID.


## OpenAPI

````yaml GET /reports/{report_id}/score
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security:
  - ApiKeyAuth: []
paths:
  /reports/{report_id}/score:
    get:
      tags:
        - reports
      summary: Get Evaluation Score
      operationId: getReportScore
      parameters:
        - name: report_id
          in: path
          required: true
          schema:
            type: integer
          description: ID of the report to get the score for.
      responses:
        '200':
          description: Report score retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  score:
                    type: object
                    properties:
                      overall_score:
                        type:
                          - number
                          - 'null'
                        description: The overall score of the report
                      score_type:
                        type: string
                        enum:
                          - single_column
                          - multi_column
                          - custom
                          - none
                        description: Type of scoring used for this report
                      has_custom_scoring:
                        type: boolean
                        description: Whether custom scoring logic was used
                      details:
                        type: object
                        oneOf:
                          - description: Single column score details
                            properties:
                              column_name:
                                type: string
                              score:
                                type:
                                  - number
                                  - 'null'
                              score_type:
                                type:
                                  - string
                                  - 'null'
                              num_skipped:
                                type: integer
                          - description: Multi-column score details
                            properties:
                              columns:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    column_name:
                                      type: string
                                    score:
                                      type:
                                        - number
                                        - 'null'
                                    score_type:
                                      type:
                                        - string
                                        - 'null'
                                    num_skipped:
                                      type: integer
                          - description: Custom score details
                            properties:
                              matrix:
                                type: array
                                description: Score matrix from custom scoring logic
                              configuration:
                                type:
                                  - object
                                  - 'null'
                                description: Custom scoring configuration
                          - description: No score details
                            properties:
                              message:
                                type: string
                    required:
                      - overall_score
                      - score_type
                      - has_custom_scoring
                      - details
                required:
                  - success
                  - message
                  - score
        '400':
          description: Bad Request - Blueprint reports do not have scores
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Invalid workspace
        '404':
          description: Report not found
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  responses:
    ValidationError:
      description: Validation error - request parameters or body are invalid.
      content:
        application/json:
          schema:
            oneOf:
              - $ref: '#/components/schemas/HTTPValidationError'
              - $ref: '#/components/schemas/ErrorResponse'
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          default: false
          description: Indicates that the request failed.
        message:
          type: string
          description: Human-readable error message.
        error:
          type: string
          description: Machine-readable or fallback error message.
      additionalProperties: true
      description: >-
        Standard error response. Some legacy endpoints may return either message
        or error.
    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
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````