List Tests

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_…’.

Query parameters

agent_idstringOptional

Comma-separated agent IDs to filter on.

typestringOptional

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

statusstringOptional

Comma-separated last-run statuses.

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

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

cursorstringOptional
Opaque pagination cursor from a previous response.

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