---
title: "List Tests"
method: GET
path: "/v1/agent/tests"
tags: ["Agent Tests"]
---

# List Tests

`GET /v1/agent/tests`

## Request

- Base URL: `https://api.fish.audio`
- URL: `https://api.fish.audio/v1/agent/tests`
- Auth: HTTP bearer

List your team's tests, newest first. Filter with `agent_id` to see the
tests attached to one agent. Paginate with `cursor` (follow `next_cursor`
while `has_more` is true) or with `page` for offset pagination with a
`total` count. The two are mutually exclusive.

## Query parameters

- `search` string, nullable
- `agent_id` string, nullable
- `test_type` 'next_reply' | 'tool' | 'simulation', nullable
- `cursor` string, nullable
- `page` integer, nullable
- `include_total` boolean
- `page_size` integer

## Response `200`

Request fulfilled, document follows

- object
  - `tests` PublicAgentTestSummary[], required
    - `test_id` string, required
    - `workspace_id` string, required
    - `name` string, required
    - `test_type` 'next_reply' | 'tool' | 'simulation', required
    - `agent_ids` string[]: Agents this test is attached to.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `has_more` boolean, required
  - `next_cursor` string, nullable
  - `total` integer, nullable

## Other responses

- `400`: Bad request syntax or unsupported method
- `401`: No permission -- see authorization schemes
- `404`: Nothing matches the given URI
- `503`: The server cannot process the request due to a high load

## Changes

- **2026-11-03** `42ac421f7a12`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fish/apis/fishaudio-openapi/changes/v1/agent/tests/get.md)

---

[API](https://skmtc.dev/fish/apis/fishaudio-openapi.md) - [All operations](https://skmtc.dev/fish/apis/fishaudio-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/fish/apis/fishaudio-openapi/revisions/42ac421f7a12?raw)
