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

# Get agent evaluation results

> Fetch the computed result summary projection for an agent evaluation.

Returns the precomputed `evaluation-run-summary` projection for the run:
aggregate metrics (`mean_score`, `p95_latency_ms`, `error_category_counts`),
completion counts, and the projection's provenance (`policy_id`,
`source_data_plane_version`). Because these values are served from a projection
rather than computed live, the response carries freshness metadata (`synced_at`,
`freshness_seconds`) indicating how stale the summary is — use it to decide
whether to wait and re-poll. For the evaluation's configuration and raw progress
rather than computed metrics, use `GET /v5/agent-evaluations/{evaluation_id}`.
Gated by the `SGP_TWO_PLANE_AGENT_EVALS_ENABLED` feature flag and requires read
access; the request is proxied to the agent-eval control service, which returns
503 if it is unreachable.



## OpenAPI

````yaml https://api.dev-sgp.scale.com/openapi-versions/v5/openapi.json get /v5/agent-evaluations/{evaluation_id}/results
openapi: 3.1.0
info:
  title: EGP API V5
  description: >-
    This is the parent API for all EGP APIs. If you are looking for the EGP API,
    please go to https://api.egp.scale.com/docs.
  contact:
    name: Scale Generative AI Platform
    url: https://scale.com/genai-platform
  version: 0.1.0
servers:
  - url: https://api.egp.scale.com
security: []
paths:
  /v5/agent-evaluations/{evaluation_id}/results:
    get:
      tags:
        - Agent Evaluations
      summary: Get agent evaluation results
      description: >-
        Fetch the computed result summary projection for an agent evaluation.


        Returns the precomputed `evaluation-run-summary` projection for the run:

        aggregate metrics (`mean_score`, `p95_latency_ms`,
        `error_category_counts`),

        completion counts, and the projection's provenance (`policy_id`,

        `source_data_plane_version`). Because these values are served from a
        projection

        rather than computed live, the response carries freshness metadata
        (`synced_at`,

        `freshness_seconds`) indicating how stale the summary is — use it to
        decide

        whether to wait and re-poll. For the evaluation's configuration and raw
        progress

        rather than computed metrics, use `GET
        /v5/agent-evaluations/{evaluation_id}`.

        Gated by the `SGP_TWO_PLANE_AGENT_EVALS_ENABLED` feature flag and
        requires read

        access; the request is proxied to the agent-eval control service, which
        returns

        503 if it is unreachable.
      operationId: GET-V5-/v5/agent-evaluations/evaluation_id/results
      parameters:
        - name: evaluation_id
          in: path
          required: true
          schema:
            type: string
            title: Evaluation Id
        - name: x-selected-account-id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Account ID Header
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentEvaluationResults'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    AgentEvaluationResults:
      properties:
        evaluation_id:
          type: string
          title: Evaluation Id
        run_id:
          type: string
          title: Run Id
        status:
          $ref: '#/components/schemas/AgentEvaluationStatus'
        total_items:
          type: integer
          title: Total Items
        completed_items:
          type: integer
          title: Completed Items
        mean_score:
          title: Mean Score
          type: number
        p95_latency_ms:
          title: P95 Latency Ms
          type: number
        error_category_counts:
          additionalProperties:
            type: integer
          type: object
          title: Error Category Counts
        projection_name:
          type: string
          title: Projection Name
          default: evaluation-run-summary
        projection_version:
          type: string
          title: Projection Version
          default: v1
        policy_id:
          type: string
          title: Policy Id
        source_data_plane_version:
          type: string
          title: Source Data Plane Version
        synced_at:
          type: string
          format: date-time
          title: Synced At
        freshness_seconds:
          type: integer
          title: Freshness Seconds
      additionalProperties: false
      type: object
      required:
        - evaluation_id
        - run_id
        - status
        - total_items
        - completed_items
        - policy_id
        - source_data_plane_version
        - synced_at
        - freshness_seconds
      title: AgentEvaluationResults
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentEvaluationStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
      title: AgentEvaluationStatus
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          title: Error Type
          type: string
        input:
          title: Input
        ctx:
          type: object
          title: Context
          additionalProperties: true
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````