Automation Query
automationQueryRead-only query of LambdaTest automation resources: list builds, get one build, list the sessions in a build, fetch test details, and retrieve test logs (command, network, console, selenium, instrumentation). Every combination works on platform "web" or "app": build list or get, session list or get, test get, and logs get with a logType. List results carry a pagination object; trust it, not result_set.total, which also counts older builds the list no longer returns. logType "instrumentation" returns XCUI and Espresso test logs. Renaming, stopping and deleting builds are separate tools: updateBuild, stopBuild and deleteBuild.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order for build listing (e.g. "asc", "desc") | |
| limit | No | Number of results to return, 1 to 100 | |
| action | Yes | The read to perform: list, or get one | |
| offset | No | Offset for pagination; pass the next offset from a previous response | |
| status | No | Filter builds by status (e.g. "running", "passed", "failed") | |
| testId | No | Test ID — required for test get and logs get | |
| todate | No | Filter builds to this date (YYYY-MM-DD, not before fromdate) | |
| buildId | No | Build ID — required for build get, optional filter for session list | |
| logType | No | Log type — required when resource is "logs" | |
| fromdate | No | Filter builds from this date (YYYY-MM-DD, a real calendar date) | |
| platform | Yes | The platform type: "web" for browser automation, "app" for mobile app automation | |
| resource | Yes | The resource type to query | |
| sessionId | No | Session ID: required for session get and for app platform log retrieval. Session get also accepts the test ID instead. | |
| pageNumber | No | Page number for command log pagination, from 1 |