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

# List Agent Evaluation Tests

> List agent evaluation tests to retrieve the saved definitions, enabled state, and latest completed-run results for an agent.

Read only

List agent evaluation tests to retrieve the saved definitions, enabled state, and latest completed-run results for an agent. This request does not start test work.

## List Agent Evaluation Tests

The agent must belong to your workspace. Get its ID from [List Agents](https://dialnexa.com/docs/api-reference/v1/agents/list.md).

## Minimal request

No request body is needed. Supply the agent ID in the path.

## Verify the result

A `200` response contains the saved tests in `data`, ordered by folder and then creation time. Use each test’s `id` in a run request. `last_result` is null until a completed run has results for that test.

## Errors and recovery

An unknown agent, a deleted agent, or an agent in another workspace returns `404`. Correct the agent ID before retrying. Read requests are safe to repeat.

Missing, expired, or invalid API credentials return `401`. See [API authentication](https://dialnexa.com/docs/api-reference/api-fundamentals.md#authenticate-dialnexa-api-requests).

## Related endpoints

* [Create Agent Evaluation Test](https://dialnexa.com/docs/api-reference/v1/eval-tests/create.md)
* [Start Agent Evaluation Run](https://dialnexa.com/docs/api-reference/v1/eval-runs/create.md)
* [Get Agent Evaluation Run](https://dialnexa.com/docs/api-reference/v1/eval-runs/get.md)
* [Get Agent Evaluation Conversation](https://dialnexa.com/docs/api-reference/v1/eval-runs/conversation.md)


## OpenAPI

````yaml GET /v1/agents/{id}/tests
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Organization Folders
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
  - name: Authentication
  - name: Agent Builder
  - name: Agent Evaluations
paths:
  /v1/agents/{id}/tests:
    get:
      tags:
        - Agent Evaluations
      summary: List Agent Evaluation Tests
      description: >-
        Lists saved tests for an agent, grouped by folder and oldest creation
        first within each folder. Includes enabled state and the latest
        completed-run result.
      operationId: listAgentEvalTests
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Agent ID from List Agents.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - error
                  - statusCode
                  - message
                  - data
                  - timestamp
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  error:
                    type: boolean
                    enum:
                      - false
                  statusCode:
                    type: integer
                    example: 200
                  message:
                    type: string
                    example: Success
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AgentEvalTest'
                  timestamp:
                    type: string
                    format: date-time
        '401':
          description: Missing, expired or invalid API key.
        '404':
          description: Agent, test, run or conversation was not found in this workspace.
      security:
        - bearer: []
components:
  schemas:
    AgentEvalTest:
      type: object
      properties:
        id:
          type: string
        agent_id:
          type: string
        name:
          type: string
        folder:
          type: string
          nullable: true
        type:
          type: string
          enum:
            - next_reply
            - tool_call
            - simulation
        config:
          type: object
          additionalProperties: true
        template_id:
          type: string
          nullable: true
        enabled:
          type: boolean
        last_result:
          type: object
          properties:
            run_id:
              type: string
            passed:
              type: integer
            total:
              type: integer
            finished_at:
              type: string
              format: date-time
              nullable: true
            version_number:
              type: integer
              nullable: true
            target:
              type: string
              nullable: true
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - agent_id
        - name
        - type
        - config
        - enabled
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.