The TestRail the project imports from
const url = 'https://beta-api.plune.ai/v1/projects/example/integrations/testrail';const options = {method: 'GET', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/projects/example/integrations/testrail \ --cookie plune_session=<plune_session>Every member of the project reads it, a reader too: { "configured": false } when none is connected, otherwise the address, when the key was saved and by whom, and what the last check or step found out about it. The owner reads the e-mail as well. Nobody reads the key — not in full, not in part. A project you are not in answers 404, the same as one that does not exist. Session cookie only: a CLI token is refused with 401.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An id from GET /v1/projects
Responses
Section titled “ Responses ”The connection, or { "configured": false }
The TestRail connection of a project, as a member of it reads it. With none it is { "configured": false }. The key is not in it, nor any part of it.
object
Present exactly when configured is true, as every field below.
Owner only.
Always true when configured — the answer to “is there a key”, and all it says of it.
userId of the owner who saved the key.
untested after a save; ok after a check or a step that went through; credentials_rejected when TestRail refused the key; unreachable when the check could not talk to the instance.
Example
{ "configured": true, "baseUrl": "https://tr.example.com", "keySet": true, "keySavedAt": "2026-09-16T09:12:04.151Z", "keySavedBy": "u-shop", "status": "ok", "verifiedAt": "2026-09-16T09:12:04.151Z"}No / invalid session — a CLI token is refused here
No such project among yours
object
Example
{ "error": "project 'u-shop::default' not found"}The server has no key to keep TestRail keys under — the operator has not set TESTRAIL_ENCRYPTION_KEY
object
Example
{ "error": "the TestRail bridge is not configured on this server - contact your operator"}