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

# List Latest Evaluation Summaries By Agent

> Return the latest completed evaluation summary per agent for the team.

Uses server-side grouping (one row per agent_id with max completed_at).
No pagination; returns at most one summary per agent that has a completed evaluation.



## OpenAPI

````yaml /openapi/api.json get /v1/evaluation-summaries/latest-by-agent
openapi: 3.1.0
info:
  title: Vijil Console API (Combined)
  description: Combined OpenAPI specification for all vijil-console microservices.
  version: 0.1.0
servers: []
security: []
tags:
  - name: Teams
    description: Authentication, users, and team management
  - name: Agent Environment
    description: Agent, persona, policy, and harness management
  - name: Diamond
    description: Evaluation management and report retrieval
  - name: Dome
    description: Protection, guardrails, and telemetry
  - name: Red Team
    description: Red team campaigns
paths:
  /v1/evaluation-summaries/latest-by-agent:
    get:
      tags:
        - Diamond
        - evaluation-summaries
      summary: List Latest Evaluation Summaries By Agent
      description: >-
        Return the latest completed evaluation summary per agent for the team.


        Uses server-side grouping (one row per agent_id with max completed_at).

        No pagination; returns at most one summary per agent that has a
        completed evaluation.
      operationId: >-
        list_latest_evaluation_summaries_by_agent_v1_evaluation_summaries_latest_by_agent_get
      parameters:
        - name: team_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
            description: Team ID to list latest summary per agent for
            title: Team Id
          description: Team ID to list latest summary per agent for
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EvaluationSummaryListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EvaluationSummaryListResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/EvaluationSummaryResponse'
          type: array
          title: Results
        total:
          type: integer
          title: Total
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
        - results
        - total
        - limit
        - offset
      title: EvaluationSummaryListResponse
      description: Response model for a paginated list of evaluation summaries.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EvaluationSummaryResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        team_id:
          type: string
          format: uuid
          title: Team Id
        agent_id:
          type: string
          format: uuid
          title: Agent Id
        tested_by:
          type: string
          title: Tested By
        status:
          type: string
          title: Status
        reliability_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Reliability Score
        security_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Security Score
        safety_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Safety Score
        overall_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Overall Score
        pillar_details:
          additionalProperties: true
          type: object
          title: Pillar Details
        harness_names:
          items:
            type: string
          type: array
          title: Harness Names
        harness_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Harness Type
        resource_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Version
        created_by:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Created By
        created_at:
          type: integer
          title: Created At
        completed_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Completed At
        request_params:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Request Params
      type: object
      required:
        - id
        - team_id
        - agent_id
        - tested_by
        - status
        - created_at
      title: EvaluationSummaryResponse
      description: Response model for a single evaluation summary.
    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

````