Retrieve a test suite
Code Mode: praxis.devops.testSuites.retrieve
HTTP: GET /devops/v1/test-suites/{id}
Read one suite by the id a suite list returned, to learn its file, framework, size, purposes and how many cases it holds. Use it when a case’s suite id needs a name for display, or to confirm which commit’s catalog a suite came from. The id is opaque; it comes from the list, never from the file path.
Signature
praxis.devops.testSuites.retrieve(args:{path:{/** e.g. "tsu_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ id:string}}):Promise<{/** 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}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The suite identifier returned by a suite list, not the file path it was discovered from. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The suite, with the catalog commit it was discovered at. |
| 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 | SUITE_NOT_FOUND means no suite with that id exists in this organization; a suite id comes from a suite list, and one from another organization is never readable. |
| 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. |