List Tests
Retrieve multiple tests for a project with optional batched project details
GET
List Tests
Fetch a list of tests associated with a project, optionally including their latest test runs and project details.
Headers
Your Iris API access token
Query Parameters
Must be set to 1 to enable request batching
The query parameters in JSON format
Batching Requests
You can batch multiple related requests together for better performance. To batch requests, use the following format:
Response
Array containing test objects with the following structure:
Tips
- Use batching to combine related queries and reduce network requests
- The
batch=1
query parameter enables request batching - You can combine
project.findFirst
andtest.findMany
in a single request - Use the
include
parameter to fetch related test runs - The
mode: "insensitive"
option in name search enables case-insensitive searching
Error Codes
Unauthorized - Invalid or missing API token
Project not found
Internal server error