Skip to main content
The @guildai-services/guildai~testrail package provides agents with read-only access to the TestRail API for test management data.

Authentication

  • Type: Basic auth (email + API key)
  • Token expiration: None — API keys are long-lived
  • Instance URL: Each TestRail instance has its own base URL

Setup

1

Open Credentials

Go to Credentials in Guild.
2

Connect TestRail

Click TestRail and enter your credentials.
3

Enter Base URL

Your TestRail instance URL (e.g., https://company.testrail.io).
4

Enter Email

Your TestRail account email.
5

Enter API Key

Found in TestRail under My Settings > API Keys.
No OAuth flow is required — credentials are entered directly.

Usage

Tools are named with the testrail_ prefix — for example, get_projects becomes testrail_get_projects.

API endpoints

Webhook events

TestRail does not support webhook triggers in Guild. This integration is API-access only.

Limitations

  • Read-only API operations — no creating or updating test cases, runs, or results
  • No webhook or trigger support
  • Each TestRail instance requires its own credential entry