> ## 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.

# List agent evaluations

> List agent evaluations for the caller's account, with cursor pagination.

Returns a page of evaluation records under `data` along with a `next_cursor`;
pass the cursor back to page through results. The request's query string is
forwarded verbatim to the agent-eval control service, so any pagination or
filtering parameters it supports are honored. Gated by the
`SGP_TWO_PLANE_AGENT_EVALS_ENABLED` feature flag and requires read access.
Returns 503 if the control service is unreachable.



## OpenAPI

````yaml https://api.dev-sgp.scale.com/openapi-versions/v5/openapi.json get /v5/agent-evaluations
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:
    get:
      tags:
        - Agent Evaluations
      summary: List agent evaluations
      description: >-
        List agent evaluations for the caller's account, with cursor pagination.


        Returns a page of evaluation records under `data` along with a
        `next_cursor`;

        pass the cursor back to page through results. The request's query string
        is

        forwarded verbatim to the agent-eval control service, so any pagination
        or

        filtering parameters it supports are honored. Gated by the

        `SGP_TWO_PLANE_AGENT_EVALS_ENABLED` feature flag and requires read
        access.

        Returns 503 if the control service is unreachable.
      operationId: GET-V5-/v5/agent-evaluations
      parameters:
        - 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/AgentEvaluationListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    AgentEvaluationListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/AgentEvaluation'
          type: array
          title: Data
        next_cursor:
          title: Next Cursor
          type: string
      additionalProperties: false
      type: object
      required:
        - data
      title: AgentEvaluationListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentEvaluation:
      properties:
        id:
          type: string
          title: Id
        run_id:
          type: string
          title: Run Id
        name:
          type: string
          title: Name
        description:
          title: Description
          type: string
        status:
          $ref: '#/components/schemas/AgentEvaluationStatus'
        progress:
          $ref: '#/components/schemas/AgentEvaluationProgress'
        tasks:
          items:
            $ref: '#/components/schemas/AgentEvaluationTask'
          type: array
          title: Tasks
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        tags:
          items:
            type: string
          type: array
          title: Tags
        account_id:
          type: string
          title: Account Id
        tenant_id:
          type: string
          title: Tenant Id
        data_plane_dataset_id:
          type: string
          title: Data Plane Dataset Id
        data_plane_version:
          title: Data Plane Version
          type: string
        projection_policy_id:
          type: string
          title: Projection Policy Id
        projection_freshness_seconds:
          title: Projection Freshness Seconds
          type: integer
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        error_count:
          type: integer
          minimum: 0
          title: Error Count
          default: 0
      additionalProperties: false
      type: object
      required:
        - id
        - run_id
        - name
        - status
        - progress
        - tasks
        - account_id
        - tenant_id
        - data_plane_dataset_id
        - projection_policy_id
        - created_at
        - updated_at
      title: AgentEvaluation
    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
    AgentEvaluationStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
      title: AgentEvaluationStatus
    AgentEvaluationProgress:
      properties:
        workflows:
          items:
            $ref: '#/components/schemas/AgentEvaluationProgressWorkflow'
          type: array
          title: Workflows
        total_items:
          type: integer
          minimum: 0
          title: Total Items
          default: 0
        completed_items:
          type: integer
          minimum: 0
          title: Completed Items
          default: 0
      additionalProperties: false
      type: object
      title: AgentEvaluationProgress
    AgentEvaluationTask:
      properties:
        alias:
          type: string
          minLength: 1
          title: Alias
        type:
          type: string
          minLength: 1
          title: Type
        config:
          additionalProperties: true
          type: object
          title: Config
        depends_on:
          items:
            type: string
          type: array
          title: Depends On
      additionalProperties: false
      type: object
      required:
        - alias
        - type
      title: AgentEvaluationTask
    AgentEvaluationProgressWorkflow:
      properties:
        name:
          type: string
          title: Name
        status:
          $ref: '#/components/schemas/AgentEvaluationStatus'
          default: pending
      additionalProperties: false
      type: object
      required:
        - name
      title: AgentEvaluationProgressWorkflow
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````