List Tests

Beta

Workspace-wide list of tests across every agent the caller owns. Supports filters (agent, type, last-run status, folder), full-text search on name/description, and cursor pagination. Each row carries its newest run and attached agent IDs so the list renders without N+1 round-trips. Walk pages while has_more is true.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Headers

Speechify-VersionstringOptional

Query parameters

agent_idstringOptional

Comma-separated agent IDs to filter on.

typestringOptional

Comma-separated test types (reply|tool|simulation).

statusstringOptional

Comma-separated last-run lifecycle statuses to filter on (pending, running, completed, failed, cancelled).

verdictstringOptional

Comma-separated last-run verdicts to filter on (passed, failed). ANDed with the status filter when both are present.

folder_idstringOptional
Folder ID to filter on, or "root" for unfiled tests.
updated_afterstringOptional
Only return tests updated after this RFC3339 timestamp.
qstringOptional
Substring match on name or description.
limitintegerOptional1-200Defaults to 50

Max items per page (default 50, max 200).

cursorstringOptional
Opaque pagination cursor from a previous response.

Response headers

X-Request-IDstring
Unique identifier for this request, present on every response (2xx and non-2xx alike). If the caller sends an `X-Request-ID` request header the server echoes it back (sanitized and length-capped) so one logical request can be traced end-to-end; otherwise the server generates a fresh value. Log it on every response and quote it in support requests - it is the stable handle that ties your observation to Speechify's server-side logs, and it matches the `request_id` field in the error envelope.

Response

Paginated list.
next_cursorstring or null

Opaque keyset cursor for the next page. Pass back as the cursor request parameter. null when the caller has reached the end of the list (has_more is also false in that case).

has_moreboolean
True when more rows exist beyond this page.
testslist of objects

Errors

401
Unauthorized Error