List test suites
Code Mode: praxis.devops.projects.testSuites.list
HTTP: GET /devops/v1/projects/{project}/test-suites
List the suites the project’s newest catalog discovered — one suite per test file and framework pair, with its size, purposes and question count. Use it to find the suite id a case belongs to, or to see which files make up an area before selecting cases from them. Suites come from the catalog, so a file added in code appears only after its commit’s catalog is published. Archived suites are returned too; they carry archived true and no case is ever silently dropped from the list.
Signature
praxis.devops.projects.testSuites.list(args:{path:{/** e.g. "dvp_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ project:string};query?:{/** e.g. 20 */ pageSize?:number;/** e.g. "pt1.eyJvIjoyMH0" */ pageToken?:string;/** e.g. "createTime desc" */ orderBy?:string}}):Promise<{/** The suites on this page, in the project's catalog file order. */ items:Array<{/** Suite identifier used to retrieve the suite or to look up the cases that belong to it. e.g. "tsu_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ id:string;/** The resource type of this answer, always test_suite; use it to tell answers apart when several kinds are handled together. */ object:"test_suite";/** RFC 3339 UTC time this suite was first discovered in any catalog of the project. e.g. "2026-10-20T04:00:00Z" */ createTime:string;/** RFC 3339 UTC time this suite's declaration last changed. e.g. "2026-11-02T11:30:00Z" */ updateTime:string;/** Canonical Console link for this suite, for putting a human-readable reference in a card or a message. e.g. "https://console.deepraxis.com/devops/tests/suites/tsu_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ viewerUrl:string;/** The project this suite belongs to, from the project list or create answer. e.g. "dvp_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ project:string;/** The test framework that runs this suite, which decides how its cases are declared and run. e.g. "bun" */ framework:"gherkin"|"bun"|"vitest"|"jest"|"pytest"|"go"|"playwright";/** The repository package the file lives in, such as services/devops, which is what a package-based selector matches. e.g. "services/devops" */ package:string;/** Path of the test file inside the repository, relative to its root; paired with the package it locates the file exactly. e.g. "services/devops/spec/features/http-face/http-face.feature" */ file:string;/** Title the suite declares — the Gherkin Feature title, or the file-level description other frameworks carry. e.g. "praxis-devops serves /devops/v1 as REST over its one JSON-RPC face (ADR-073)" */ title:string;/** The suite's declared test size, which decides its time budget and which selectors match it. e.g. "small" */ size:"small"|"medium"|"large";/** ISTQB purpose tags the suite declares; a purpose-based selector matches against these. e.g. ["regression"] */ purposes:Array<"smoke"|"regression"|"acceptance"|"contract"|"performance">;/** Free-form tags the suite declares, matched by an anyTags or allTags selector. e.g. ["devops","api"] */ tags:Array<string>;/** How many cases this suite holds in this catalog version. e.g. 11 */ caseCount:number;/** The commit whose catalog discovered this suite; read that catalog to see the counts it was part of. e.g. "4f2a9c1d8e7b6a5c4d3e2f1a0b9c8d7e6f5a4b3c" */ catalogCommit:string;/** True when the suite's file is no longer in the newest catalog; its cases and their history stay readable, and plans selecting them simply match nothing new. e.g. false */ archived:boolean}>;/** How many items match this list's project and filter across every page, so a dashboard can show a total without walking the pages. e.g. 137 */ totalSize?:number;/** Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished. e.g. "pt1.eyJvIjoxMH0" */ nextPageToken:string}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| project | path | string | yes | Identifies the project whose data you are reading, from the project list or create answer. |
| pageSize | query | number | no | How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone. |
| pageToken | query | string | no | The cursor from the previous page’s nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page. |
| orderBy | query | string | no | Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource’s own order. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | One page of suites, newest catalog first; nextPageToken is the cursor for the following page and is empty on the last one. |
| 400 | application/json | INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written. |
| 401 | application/json | The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying. |
| 403 | application/json | The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project’s organization. No cross-organization read is possible. |
| 404 | application/json | PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer. |
| 500 | application/json | INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again. |